#21050 [Opn->Fbk]: strtotime & time zones
ID: 21050
Updated by: derick@php.net
Reported By: peter@mediapoland.com
-Status: Open
+Status: Feedback
Bug Type: Date/time related
Operating System: Linux webdev 2.4.19
PHP Version: 4.2.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-12-16 11:32:40] peter@mediapoland.com
Function 'strtotime' will produce 24 hour offset when prasing timezone
item.
echo (strtotime(GMT, 0)); //-86400 on Linux, 0 on win2k.
echo (strtotime(CST, 0)); //-64800 on Linux, 21600 on win2k
Peter
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21050&edit=1
Thread (3 messages)