Re: Dates - adding to unix 86400 seconds not equal nextday
| From: | Simon Rees | Date: | Wed, 01 Sep 2004 14:16:07 +0000 |
| Subject: | Re: Dates - adding to unix 86400 seconds not equal nextday | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35995@lists.php.net to get a copy of this message | ||
Isn't this due to how your operating system handles the switch from daylight saving time to GMT (or local equivilent)? Or is this handled by PHP? That could account for different experiences. Of course if your locale doesn't switch from DST on this date you won't see the issue either...
Using gmdate doesn't cause this anomaly.
Apologies if this is what you're discussing and the issue is when the DST switch takes place...
cheers Simon
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~