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>dftime2num()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfTime2Num()
Convert TIME string in a numeric time
------------------------------------------------------------------------------
Syntax:

     dfTime2Num( <cTime> ) --> nTime

Parameters:

     <cTime>    TIME string to convert

Returns:

     <nTime>    TIME number

Description:

     Convert TIME string in a numeric time

Example:

     * #################################################
     PROCEDURE Test(  )
     * #################################################
     
     ? dfTime2Sec( "10:00:00" )
     ? dfTime2Sec( "00:01:00" )
     ? dfTime2Sec( "98:76:54" )
     ? dfTime2Sec( "198:76:54" )
     ? dfTime2Sec( "1198:76:54" )
     ? dfSec2Time( 1000000 )
     ? dfTime2Sec( dfSec2Time( 1000000 ) )
     ? dfSec2Time( dfTime2Sec( dfSec2Time( 1000000 ) ) )
     ? dfNum2Time( 10.23 )
     ? dfTime2Num( "10:59:00" )
     
     RETURN

See also:

     dfNum2Time(), dfSec2Time(), dfTime2Sec()

See Also: dfNum2Time() dfSec2Time() dfTime2Sec()

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