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>dftimevalid()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfTimeValid()
Check if a time is valid
------------------------------------------------------------------------------
Syntax:

     dfTimeValid( <cTime> ) --> lValid

Parameters:

     <cTime>    Time to check. The time format must be :
     "HH:MM:SS" HH = Time, MM = Minuts, SS = Seconds

Returns:

     <lValid> .T. If the time is right

Description:

     Check if a time is valid

Example:

     ? dfTimeValid("23:44:89") // .F.
     ? dfTimeValid("23:54:59") // .T.
     ? dfTimeValid("23:64:59") // .F.
     ? dfTimeValid("23:44:59") // .T.
     ? dfTimeValid("24:44:59") // .F.
     ? dfTimeValid("24:54:59") // .F.
     ? dfTimeValid("24:54:69") // .F.

See also:

     dfCalendar(), dfTimePack()

See Also: dfCalendar() dfTimePack()

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