qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SetDate Procedure
  Summary Details Example                                   Back
 
  Arguments
 
    year     Word expression representing year in range 1980..2009
 
    month    Word expression representing month in range 1..12
 
    day      Word expression representing day in range 1..31
 
  Description
 
    The SetDate procedure sets the current system date to a specified
    date. SetDate works the same as the DOS command DATE when DATE is
    used to set the system date.
 
    The system date remains set until changed by rebooting, executing
    DATE, or calling the SetDate procedure again. The new date is set
    beyond the end of execution of the current program. Neither
    SetDate nor DATE changes the date kept by a computer's hardware
    clock.
 
    The arguments pass the year, month, and day parts of the date
    setting. If any argument is invalid, such as a value out of range,
    the entire request is ignored.