[thelist] calculating a date

rudy limeback r937 at interlog.com
Sun Oct 15 06:18:23 CDT 2000


> I have a given date in $year, $month and $day.
> Now I want to calculate a new date that is 7 days or 9 weeks
> (given as 63 days) in the future.

hi joxn

convert to a julian day number, add the days, convert back

see julian day algorithm here --

   http://serendipity.magnet.ch/hermetic/cal_stud/jdn.htm#comp


rudy 
r937.com






More information about the thelist mailing list