RE: [PHP] Date class
| From: | Rob Agar | Date: | Wed, 20 Apr 2005 01:10:55 +0000 |
| Subject: | RE: [PHP] Date class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213443@lists.php.net to get a copy of this message | ||
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
Date_Timezone::inDaylightTime method called in Date::before &
Date::after which causes access violations. Unfortunately the Date
owner's attitude is roughly 'not my problem, windows sucks' (which may
be true but doesn't help much :-/ )
R