Link to home
Start Free TrialLog in
Avatar of cubic
cubic

asked on

date routines

I need a suite of date functions that provides at least:
1. gregorian to julian conversion
2. julian to gregorian conversion

Do you know of a site where I can get these for free.  Is there a book you can recommend that provides source code.

thx in advance.
Avatar of siabod
siabod

Avatar of cubic

ASKER

As best as I can tell -- the site you recommend does not show the source code for the date functions.  

Any other sites that show source code (for free) for julian date routines (and hopefully other date routines as well)?

thx.
It's not exactly what you're looking for, but it conatins the algorithms used for conversion:
  http://www.cpan.org/modules/by-authors/Sullivan_Beck/DateManip-5.34.tar.gz
I have a pair of routines that converts between normal calendar dates (gregorian) and pseudo-julian (using Jan 1 1900 as day 0). If you're interested I can post them as an answer.

My first reaction is 'just do it' - after all, that's what I did, and apparently whan imladris did.  But why isn't something so basic in the RTL?
ASKER CERTIFIED SOLUTION
Avatar of hougaard
hougaard

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial