Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.sys.ibm.pc Subject: Re: Date routines in turbo C 1.5. Message-ID: <20832@iuvax.cs.indiana.edu> Date: 17 May 89 01:38:21 GMT References: <1513@sdcc15.ucsd.edu> <11479@polyslo.CalPoly.EDU> Reply-To: bobmon@iuvax.cs.indiana.edu (RAMontante) Distribution: usa Organization: malkaryotic Lines: 9 Peter Norton defines the time and date fields (that findfirst() and findnext() return) as containing the modification time and date thus: time_val = hour*2048 + minutes*32 + seconds/2 date_val = (year-1980)*512 + month*32 + day The time and date can be treated as a single unsigned long integer for purposes of comparison between file timestamps.