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.
DOS Time and Date Formats
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
                                      Time
 
          F   E   D   C   B   A   9   8   7   6   5   4   3   2   1   0
        ├───┬───┬───┬───┬───┬───┬───┬───┼───┬───┬───┬───┬───┬───┬───┬───┤
        │       hours       │        minutes        │2-second increments│
        └───────────────────┴───────────────────────┴───────────────────┘
  values:        0-23                 0-59                   0-29
 
 
                                      Date
 
          F   E   D   C   B   A   9   8   7   6   5   4   3   2   1   0
        ├───┬───┬───┬───┬───┬───┬───┬───┼───┬───┬───┬───┬───┬───┬───┬───┤
        │            year           │     month     │        day        │
        └───────────────────────────┴───────────────┴───────────────────┘
  values:  0-119 (relative to 1980)        1-12              1-31
 
 
  See also: Int 21h Function 57h (Get or Set File Date and Time),
            Int 21h Function 4Eh (Search for First Match),
            Int 21h Function 4Fh (Search for Next Match),
            File Control Block (FCB)
                                    -♦-