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 1AH Function 04H
   Summary  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Get Date      [AT] [PS/2]
 
  Reads the current date from the CMOS time/date chip.
 
  Input             Output
  ══════            ═══════════════════════════════════════════════════
  AH=04H            CH=century (19 or 20) in binary coded decimal (BCD)
                    CL=year in BCD
                    DH=month in BCD
                    DL=day in BCD
                    and, if clock running
                    Carry flag=clear
                    or, if clock stopped
                    Carry flag=set
                                    -♦-