Re: unix2MDBstamp() and day light savings
| From: | Lukas Smith | Date: | Thu, 12 May 2005 19:45:01 +0000 |
| Subject: | Re: unix2MDBstamp() and day light savings | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19181@lists.php.net to get a copy of this message | ||
Michael Caplan wrote:
That's not the code I was getting at. I have no issue with the format you
use. What I am referring to is this:
if (date('I', $unix_timestamp)) { $unix_timestamp -= 3600; }
Since I celebrate daylight saving time, all my timestamps get an hour
knocked off when we are in daylight saving time.
err yes .. shoukd have said which package you are talking about .. i figured you were talking about MDB ..
in MDB2 I decided to intentionally not deal with day light saving time, just because the purpose of MDB2_Date was to be a simple helper .. i didnt want to compete with PEAR::Date.
regards,
Lukas