Xref: utzoo comp.sys.ibm.pc:36797 comp.lang.c:23184 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!purdue!bu-cs!austin From: austin@bucsf.bu.edu (Austin Ziegler) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: findfirst/findnext in Turbo C Message-ID: <41021@bu-cs.BU.EDU> Date: 24 Oct 89 01:45:39 GMT References: <3540@orion.cf.uci.edu> Sender: daemon@bu-cs.BU.EDU Distribution: na Organization: Boston University College of Engineering Lines: 18 >>>>> On 23 Oct 89 13:12:05 GMT, dkrause@orion.oac.uci.edu (Doug Krause) said: Doug> I'm using Turbo C 2.0 on a PC clone. My question: I'm using findfirst Doug> and findnext to read the disk directory. In the structure returned are Doug> two integers that tell the file date and file time. Is there a function Doug> to convert these numbers into something more useful like hh:mm? I think that there are functions (packtime and unpacktime or something like that) to do this. I don't have my compiler in front of me now, but go into the help mode, Header files, Dir.H, and then go to findfirst or find/next. If it is not in that help section, look under DOS.H. If you would post the proper answer, I would appreciate it. (I program in Pascal more often...) Elminster, the Sage of Shadowdale (austin@bucsf.bu.edu) 700 Commonwealth Box 2094, Boston, MA 02215 Pascal Guru here, I want to be a C guru...