[PHP] Date class

2005-04-19 Thread Devraj Mukherjee
Everyone, Do you know of any decent Date/Time handling classes? We require the following functionality 1. Date's prior to 1970 handled (not reliant on the PHP date) 2. add/subtract days to/from a date 3. subtract two dates returning number of days Any pointers are welcome. Thanks for your time

Re: [PHP] Date class

2005-04-19 Thread Mattias Thorslund
Devraj Mukherjee wrote: Everyone, Do you know of any decent Date/Time handling classes? We require the following functionality 1. Date's prior to 1970 handled (not reliant on the PHP date) 2. add/subtract days to/from a date 3. subtract two dates returning number of days Any pointers are

RE: [PHP] Date class

2005-04-19 Thread Rob Agar
Matthias wrote: Have you looked at the PEAR Date class? http://pear.php.net/package/Date PEAR Date is good - I use it a lot - but watch out for this bug if you're running on Windows http://pear.php.net/bugs/bug.php?id=2344 basically, there's some getenv/putenv trickery in the

Re: [PHP] Date class and Span.php

2003-09-07 Thread Mika Tuupola
On Sat, 6 Sep 2003, Nelson Goforth wrote: Date.php calls for an include of a file called Span.php, but the file does not exist in the date subdirectory. I've found some references to that file being missing, so I located a file by that name in the CVS directory and installed it. However,

[PHP] Date class and Span.php

2003-09-06 Thread Nelson Goforth
I am trying to use the Date class and am having trouble with it. Since I'm just starting to use PEAR modules I'm not sure if I'm missing something simple or just what. Date.php calls for an include of a file called Span.php, but the file does not exist in the date subdirectory. I've found