[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Time.prg
Time manipulation functions
--------------------------------------------------------------------------------
SecondsAsDays( <nSeconds> ) --> nDays
Convert numeric seconds to days.
TimeAsAMPM( <cTime> ) --> cTime
Convert a time string to 12-hour format.
TimeAsSeconds( <cTime> ) --> nSeconds
Convert a time string to number of seconds from midnight.
TimeAsString( <nSeconds> ) --> cTime
Convert numeric seconds to a time string.
TimeDiff( <cStartTime>, <cEndTime> ) --> cDiffTime
Return the difference between two time strings in the form hh:mm:ss.
TimeIsValid( <cTime> ) --> lValid
Validate a time string.
See Also: Date.prg Elaptime.prg Secs.prg Time87.ch Tstring.prg
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson