Path: utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!nosc!humu!uhccux!wilson From: wilson@uhccux.uhcc.hawaii.edu (Tom Wilson) Newsgroups: comp.sys.ibm.pc Subject: Re: Question about INT 21H, AH=4EH/4FH Message-ID: <3007@uhccux.uhcc.hawaii.edu> Date: 15 Jan 89 14:30:42 GMT References: <13339@ncoast.UUCP> Reply-To: wilson@uhccux.UUCP (Tom Wilson) Distribution: na Organization: University of Hawaii Lines: 31 In article <13339@ncoast.UUCP> allbery@ncoast.UUCP (Brandon S. Allbery) writes: >The only copy of the Interrupt List I can find on ncoast and my almost >useless DOS manual agree that the structureset by INT 21, AH=4EH/4FH >contains one 16-bit entity each for file date and time. Question: does >anyone know the format of these numbers? My essential reference on the subject of DOS interrupts is Advanced MS-DOS, by Ray Duncan (Microsoft Press, 2nd Edition is out) Format of the file time: Bits Contents 00-04 seconds (2-second increments), 0-29 05-0A minutes (0-59) 0B-0F hours (0-23) File date: Bits Contents 00-04 date (1-31) 05-08 month (1-12) 09-0F year (relative to 1980) ---- Duncan, p. 445 I guess I'm spoiled by using Duncan. This is the second time this question has been asked in the last couple of days (the other was on comp.lang.c) -- Tom Wilson wilson@uhccux.UUCP wilson@uhccux.uhcc.Hawaii.Edu (Internet) wilson@uhccux (Bitnet)