home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!orstcs!orstcs!usenetusenet
- From: divineg@prism.CS.ORST.EDU (Glade Diviney)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Fun w/DateStamp
- Message-ID: <1992Aug22.190411.1049@CS.ORST.EDU>
- Date: 22 Aug 92 19:04:11 GMT
- Article-I.D.: CS.1992Aug22.190411.1049
- Sender: usenet@CS.ORST.EDU
- Organization: Oregon State University, Computer Science Dept.
- Lines: 13
- Nntp-Posting-Host: prism.cs.orst.edu
-
-
- Okay, fellow power users/codes. For a project I'm working on, I need
- to deduce the current date. DateStamp does the trick, of course, but
- how useful is the number of days since Jan. 1, 1978??? Does anyone know
- of a function or #define in the .h files somewhere that translates this
- cryptic "internal format" into something humans use?
-
- (P.S. I would've written a translation table myself, but I couldn't remember
- whether leap years don't happen every 200 or every 400 years. Anyway,
- I shouldn't have to!)
-
- -=Glade Diviney
- divineg@prism.cs.orst.edu
-