Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Time Converter (24h to 12h) by mozurin
"use strict";
function timeConverter(dayTime)
{
const [h, m] = dayTime.split(':');
return `${!(h % 12)? 12 : h % 12}:${m} ${h < 12? 'a' : 'p'}.m.`;
}
June 20, 2018
Comments: