home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12573 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1023 b 

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