Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
from datetime import datetime solution in Clear category for Time Converter (12h to 24h) by zwerkoff
from datetime import datetime
def time_converter(time):
time = time.replace('.', '').upper()
time = datetime.strptime(time, f'%I:%M %p')
return time.strftime('%H:%M')
Nov. 9, 2020
Comments: