Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dftime2sec()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfTime2Sec()
Convert a TIME() string in SECONDS()
------------------------------------------------------------------------------
Syntax:

     dfTime2Sec( <cTime> ) --> nSeconds

Parameters:

     <cTime>    Time to convert

Returns:

     <nSeconds>  Seconds

Description:

     Convert a TIME() string in SECONDS()

Example:

     ? dfTime2Sec( "00:00:00" ) // 0
     ? dfTime2Sec( "00:00:01" ) // 1
     ? dfTime2Sec( "00:01:01" ) // 61
     ? dfTime2Sec( "01:01:01" ) // 3661
     ? dfTime2Sec( "01:02:01" ) // 3721
     ? dfTime2Sec( "9991:02:01" )

See also:

     dfDate(), dfSetTime()

See Also: dfDate() dfSetTime()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson