home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / perl / 7967 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.2 KB

  1. Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!coombs!mark
  2. From: mark@coombs.anu.edu.au (Mark)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: julian date conversions
  5. Date: 23 Jan 93 15:12:59 GMT
  6. Organization: Australian National University
  7. Lines: 23
  8. Message-ID: <mark.727801979@coombs>
  9. References: <4245@master.CNA.TEK.COM>
  10. NNTP-Posting-Host: 150.203.76.2
  11. Organisation: Wassat?!
  12.  
  13. frankm@ying.CNA.TEK.COM (Frank 'Scruff' Miller) writes:
  14.  
  15. >How do I get a julian date into a regular date (like the 9
  16. >element array returned by localtime()).
  17.  
  18. >If I can get this into time_t, I can do the rest (well, of course).
  19.  
  20. You will most likely find what you want in these...
  21.  
  22. coombs:~/mark/perl/scripts mark> grep date INDEX
  23. date.pl        - print dates how you want with the sysv +FORMAT method
  24. date.shar      - routines to manipulate and calculate dates
  25. getdate.shar   - returns number of seconds since epoch for any given date
  26. ptime.shar     - print dates how you want with the sysv +FORMAT method
  27.  
  28. These files are found in the anon ftp dir /pub/perl/scripts on
  29. coombs.anu.edu.au [150.203.76.2]. See the README file in the /pub/perl dir for
  30. usage details.
  31.  
  32. Hope this helps
  33.  
  34. Mark
  35. mark@coombs.anu.edu.au
  36.