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.
Int 21h Function 2Ah
 ◄Detail► ◄Example►                          ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   2Ah
 
  Title:       Get Date
 
  See also:    Set Date, Get Time, Get or Set File Date and Time,
               @GetTime
 
  Description:
 
     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,...)
                                    -♦-