HOURMINAMPM(theTime as Time)
Description
Returns a string with hours, minutes, and AM or PM indicator in the format "HH:MM XX" where XX="AM" or "PM"
Example
Dim theTime as Time
Dim result as String
theTime=TimeVal(13,24,15)
result=HourMinAmPm(theTime) 'will calculate result="01:24 PM"