DT_TimeToSec
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Obsolete > DT (Date Handling) > DT_TimeToSec |
This functionality has been made obsolete by newer, better solved CDateTime available directly in core instead.
Description
The DT_TimeToSec () function converts a given time string to the correspondent number of seconds.
Syntax
DT_TimeToSec(sTime) AS NUMBER
Returns
Returns AS NUMBER
The number of seconds.
Parameters
sTime AS STRING
The time string.
Remarks
Restrictions
See also
Examples
MSGBOX 0, DT_SecToTime(DT_TimeToSec("00:01:01")) ' results "00:01:01"