Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>setdate()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    SetDate()

         Changes system date

    Syntax:

         SetDate( dNewDate ) -> lError

         dNewDate : A Clipper date value with the new date

    Description:

         Changes the system date by the specified date. It hasn't importance
         the Set Date that the system place.
         The opposite operation, is that to say, taking the system date could
         be made with the standard function date().

    Return:

         Returns .T. if the date is valid and .F. if it isn't.

    Example:

         If ! SetDate ( cTod ( "99/99/99" ) )
           Warning ( "Incorrect date" )
         EndIf

See Also: SetTime()

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