home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12685 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!nic.csu.net!vax.sonoma.edu!nicholas
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Re: Fun w/DateStamp
  4. Message-ID: <1992Aug25.182750.1@vax.sonoma.edu>
  5. From: nicholas@vax.sonoma.edu
  6. Date: 25 Aug 92 18:27:50 -0800
  7. References: <1992Aug22.190411.1049@CS.ORST.EDU>
  8. Organization: Sonoma State University
  9. Nntp-Posting-Host: vax.sonoma.edu
  10. Lines: 19
  11.  
  12. In article <1992Aug22.190411.1049@CS.ORST.EDU>, divineg@prism.CS.ORST.EDU (Glade Diviney) writes:
  13. >   Okay, fellow power users/codes.  For a project I'm working on, I need
  14. >   to deduce the current date.  DateStamp does the trick, of course, but
  15. >   how useful is the number of days since Jan. 1, 1978??? Does anyone know
  16. >   of a function or #define in the .h files somewhere that translates this
  17. >   cryptic "internal format" into something humans use?
  18. >   (P.S. I would've written a translation table myself, but I couldn't remember
  19. >    whether leap years don't happen every 200 or every 400 years.  Anyway,
  20. >    I shouldn't have to!)
  21. > -=Glade Diviney
  22. >   divineg@prism.cs.orst.edu
  23.  
  24. asctime defined in time.h converts a time struct to a string...
  25. Later Dude, Guy
  26.  
  27.  
  28.