Path: utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!boulder!tramp!swarbric From: swarbric@tramp.Colorado.EDU (SWARBRICK FRANCIS JOHN) Newsgroups: comp.lang.c Subject: Re: Turbo C Date Conversion Keywords: Turbo C, date Message-ID: <3968@sigi.Colorado.EDU> Date: 25 Jan 88 19:39:51 GMT References: <454@picuxa.UUCP> Sender: news@sigi.Colorado.EDU Reply-To: swarbric@tramp.Colorado.EDU (SWARBRICK FRANCIS JOHN) Organization: University of Colorado, Boulder Lines: 17 In article <454@picuxa.UUCP> rcr@picuxa.UUCP (Richard Court ) writes: :I am writing a program to list directory attributes. I am using the :"findfirst" and "findnext" routines to extract file information for me :and then "strcpy" data out of the "ffblk" structure to fill my arrays. : :What I can't figure out is how to convert the file date and time. They :are placed in the ffblk structure as packed integers and I'll be damned :if I can figure out a way to get them into strings! Get a good DOS programming book such as "Advanced MS-DOS." I would tell you exactly how, except I am at school and the book is at home. It's a very good book to have, anyway. Frank Swarbrick (and his cat) swarbric@tramp.UUCP swarbric@tramp.Colorado.EDU ...!{hao|nbires}!boulder!tramp!swarbric "No one can hear when you're Screaming in Digital!"