#21050 [Opn->Fbk]: strtotime & time zones

From: Date: Mon, 16 Dec 2002 19:06:35 +0000
Subject: #21050 [Opn->Fbk]: strtotime & time zones
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27882@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#27882) next »