Assembly Language Help (alang.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 Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @SetDate month, day, year
 
  Summary:   Sets the system date
 
  Arguments: <month>     8-bit month (1-12)
 
             <day>       8-bit day (1-31)
 
             <year>      16-bit year (1980-2099)
 
  Returns:   AL     If date was valid 0, else -1
 
  Modifies:  AX, CX, DX
 
  See also:  Int 21h Function 2Bh, @GetDate, @SetTime
                                    -♦-