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 twilyght
def time_converter(time):
h, m = map(int, time.split(":"))
return "{:d}:{:02d} {}.m.".format(h % 12 if h % 12 else 12, m, ['a', 'p'][h >= 12])
May 12, 2020
Comments: