Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Time Converter (24h to 12h) by Assiduous-Sevene
def time_converter(time):
min,hour = time.split(':')[1] , int(time.split(':')[0])
return f"{(hour-1)%12+1}:{min} {'ap'[hour>11]}.m."
Sept. 30, 2020