xHarbour Reference Documentation > Function Reference |
Calculates the number of seconds since midnight.
TimeToSec( [<cTime>] ) --> nSeconds
The function returns a numeric value representing the number of seconds corresponding to <cTime>. If no parameter is passed, the return value is determined by Seconds().
See also: | Seconds(), SecToTime(), Time() |
Category: | CT:DateTime , Date and time |
Source: | ct\cttime.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com