[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    SetDate()

         Changes the system date

    Syntax:

         SetDate( dNewDate ) -> lError

         dNewDate : A Clipper date value with the new date

    Description:

         Changes the system date with a specified date.

         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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson