Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
[py3.8+] 1-liner: 115 chars solution in Creative category for Time Converter (24h to 12h) by Phil15
time_converter=lambda t:'%d:%.2d %s.m.'%('a'if(h:=[*map(int,t.split(':'))])<[12,0]else'p',h[1],(h[0]-1)%12+1)[::-1]
Oct. 6, 2019
Comments: