note 33196 deleted from function.strtotime by sniper
| From: | sniper@php.net | Date: | Tue, 21 Oct 2003 11:00:48 +0000 |
| Subject: | note 33196 deleted from function.strtotime by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58994@lists.php.net to get a copy of this message | ||
Note Submitter: spam-php@dumbengineer.com
----
odd behavior noted between windows and linux and different versions of PHP with regards to daylight
savings time. Try this yourself. Note that 4/4/2004 2:30 doesn't actually exist - your clock
goes right from 1:59:59 to 3:00:00
echo "strtotime(\"2004-04-04 02:30:00\"): ".date("l n/j/Y
H:i",strtotime("2004-04-04 02:30:00"));
output unix, php 4.0.6:
strtotime("2004-04-04 02:30:00"): Wednesday 12/31/1969 17:59
output windows, php 4.3.2:
strtotime("2004-04-04 02:30:00"): Sunday 4/4/2004 01:30