Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
?ConvertTime(TIME())
FUNCTION ConvertTime(tcMilitaryTime)
LOCAL lcHoursWas, lcCivilianTime
lcHoursWas = SET("hours")
SET HOURS TO 12
lcCivilianTime = TTOC(CTOT(DTOC(DATE()) + " " + tcMilitaryTime),2)
SET HOURS TO &lcHoursWas
RETURN lcCivilianTime
ENDFUNC
Mike Lewis said:Is this an American usage?
Actually, the medical 'industry' is quite big on 24 hour or military time too. (My wife is in hospital administration).We don't use 24-hour clock for anything outside the military over here.
We don't use 24-hour clock for anything outside the military over here