Time Conversion

  • + 0 comments

    I gone in a totally different way, with Python 3:

    def timeConversion(s): return(datetime.datetime.strptime(s, "%I:%M:%S%p").time().strftime("%H:%M:%S"))