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
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     This function's register format is the same as that required for
     Int 21h Function 2Bh (Set Date).
 
     This function can be used together with Int 21h Function 2Bh to
     find the day of the week for an arbitrary date. The current date
     is first obtained with Function 2Ah and saved. The date of
     interest is then set with Function 2Bh, and the day of the week
     for that date is obtained with a subsequent call to Function 2Ah.
     Finally, the current date is restored with an additional call to
     Function 2Bh, using the values obtained with the original Function
     2Ah call.
                                    -♦-