FileTimeRec 1 1 1 1 1 1 ╓5┬4┬3┬2┬1┬0┬9┬8╥7┬6┬5┬4┬3┬2┬1┬0╖ ║ hour │ minute │ sec/2 ║ ╙─┴─┴─┴─┴─┴─┴─┴─╨─┴─┴─┴─┴─┴─┴─┴─╜ bits mask ╚═══╦═══╝ ╚════╦════╝ ╚═══════╩═► 0-4: 001fH 2-second units (0-30 valid) ║ ╚════════════════► 5-10: 07e0H minute (0-59 valid) ╚═══════════════════════════►11-15: f800H hour (0-23 valid) FileDateRec 1 1 1 1 1 1 ╓5┬4┬3┬2┬1┬0┬9┬8╥7┬6┬5┬4┬3┬2┬1┬0╖ ║ year │ month │ day ║ ╙─┴─┴─┴─┴─┴─┴─┴─╨─┴─┴─┴─┴─┴─┴─┴─╜ bits mask ╚═════╦═════╝ ╚══╦══╝ ╚═══════╩═► 0-4: 001fH day (0-31) ║ ╚══════════════► 5-8: 01e0H month (1-12 valid) ╚═════════════════════════► 9-15: e000H years since 1980 (0-119 valid) Notes: ■ These layouts are seen in directory entries (as when performing absolute disk reads; see DirEntryRec), FCBs, and in the FileInfoRec returned by DOS fns 4eH and 4fH (find file) and 57H (query/set file time/date). ■ DOS uses a different format for fns 2aH-2dH (system clock functions). ■ Remember that the date value is relative to 1980 (the approximate beginning of the IBM-PC era). See Also: 5700H (query file time/date) 5701H (set file time/date) DirEntryRec -♦-