Int 21 Fn Sect - Dos 2+ - Get File's Last-written Date And Time [!]
AX = 5700h
BX = file handle
Return: CF clear if successful
CX = file's time (see #1351)
DX = file's date (see #1352)
CF set on error
AX = error code (01h,06h) (see #1366)
Note: under DR DOS 3.41 and 5.0, this function returns 0 (no date/time) for
character devices; MS-DOS returns date and time of opening
See Also: AX=5701h,AX=5704h"Windows95"
Bitfields for file time:
Bit(s) Description (Table 1351)
15-11 hours (0-23)
10-5 minutes
4-0 seconds/2
Bitfields for file date:
Bit(s) Description (Table 1352)
15-9 year - 1980
8-5 month
4-0 day