[thelist] calculating a date

Joxn joxn at vernum.com
Sun Oct 15 04:13:59 CDT 2000


Hi,
probably someone came across a similar problem before:

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.

The language of choice is PHP in this case, but probably the pure
algorithms would help, too.

I'm stuck with problems like leap year and so on.

TIA,
Joxn
-- 
   || //\\ \\// |\\||  ::  joxn at vernum.com  ::
 \\|| \\// //\\ ||\\|  ::      8053703      ::




More information about the thelist mailing list