qa.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.
Int 21H Function 2AH
   Summary  Notes  Example  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Get Date
 
  Obtains the system day of the month, day of the week, month, and year.
 
  Input             Output
  ══════            ═════════════════════════════════════════════
  AH=2AH            CX=year (1980 through 2099)
                    DH=month (1 through 12)
                    DL=day (1 through 31)
                    Under MS-DOS versions 1.1 and later
                    AL=day of the week (0=Sunday, 1=Monday, etc.)
                                    -♦-