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>dfsettime()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfSetTime()
Set the system time
------------------------------------------------------------------------------
Syntax:

     dfSetTime( <cTime> ) --> lSuccess

Parameters:

     <cTime>    Time to set

Returns:

     <lSuccess> .T. if the time is set

Description:

     Set the system time

Example:

     LOCAL cTime := TIME()
     
     ? dfSetTime( "12:00:00" )
     ? time()
     
     ? dfSetTime( "12:05:00" )
     ? time()
     
     ? dfSetTime( "12:03:50" )
     ? time()
     
     ? dfSetTime( "13:00:00" )
     ? time()
     
     ? dfSetTime( cTime )

See also:

     dfSetDate()

See Also: dfSetDate()

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