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

     dfSetDate( <dDate> ) --> lSuccess

Parameters:

     <dDate>    Date to set

Returns:

     <lSuccess> .T. if the date is set

Description:

     Set the system date

Example:

     LOCAL dOldDate := DATE()
     
     ? dfSetDate( CTOD("01/03/1994") )
     ? DATE()
     
     ? dfSetDate( CTOD("12/25/1994") )
     ? DATE()
     
     ? dfSetDate( dOldDate )
     ? DATE()

See also:

     dfSetTime()

See Also: dfSetTime()

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