DOS Fn 2aH: Query DOS Date
Compatibility: 1.0+
Expects: AH 2aH
──────────────────────────────────────────────────────────────────
Returns: CX year (1980 to 2099)
DH month (1 to 12)
DL day (1 to 31)
AL day of the week (0=Sun, 1=Mon,...6=Sat) DOS 1.1+
──────────────────────────────────────────────────────────────────
Info: Returns the current date as known to the system.
Versions: ■ DOS 2.x technical manuals do not guarantee the return of the
day value in AL; however, all DOS versions after (1.0) do so.
■ DOS Versions prior to 2.1 had problems rolling-over the date.
See Also: Fn 2cH (get time)
Fn 2bH (set date)
DOS Functions
-♦-