Xref: utzoo comp.lang.c:15494 comp.sys.ibm.pc:23233 Path: utzoo!attcan!uunet!lll-winken!ames!ncar!unmvax!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!batcomputer!sun.soe.clarkson.edu!rpi!turing.cs.rpi.edu!mcintyre From: mcintyre@turing.cs.rpi.edu (David McIntyre) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Microsoft C 5.1 question Message-ID: <104@rpi.edu> Date: 13 Jan 89 23:42:14 GMT Sender: usenet@rpi.edu Reply-To: mcintyre@turing.cs.rpi.edu (David McIntyre) Organization: Rensselaer Instipoly Technitute Lines: 25 I am having a little trouble with C, and am hoping that someone has already conquered this problem: I am using _dos_findfirst and _dos_findnext to get information about directory entries. The time and date stamps on the file are returned as unsigneds (wr_time and wr_date). I would like to extract the information about date and time from these unsigneds, but the time and date conversion functions do not seem to take similar values. Could someone give me 2 or 3 sample lines of code showing how to print these unsigned dates and times as xx:xx:xx and xx/xx/xxxx values? Thanks, Dave Dave "mr question" McIntyre | "....say you're thinking about a plate mcintyre@turing.cs.rpi.edu | of shrimp.....and someone says to office : 518-276-8633 | you `plate,' or `shrimp'......" home : 518-271-6664 |