#21050 [Com]: strtotime & time zones
| From: | jonco at iol dot ie | Date: | Fri, 11 Apr 2003 08:40:59 +0000 |
| Subject: | #21050 [Com]: strtotime & time zones | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37555@lists.php.net to get a copy of this message | ||
ID: 21050
Comment by: jonco at iol dot ie
Reported By: peter at mediapoland dot com
Status: No Feedback
Bug Type: Date/time related
Operating System: Linux webdev 2.4.19
PHP Version: 4.2.2
New Comment:
Using strtotime("last friday") produced a 24-hr offset on change form
GMT to Summer Time, ie returned last thursday.
john
Previous Comments:
------------------------------------------------------------------------
[2003-01-02 18:50:56] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2002-12-16 13:06:34] derick@php.net
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
------------------------------------------------------------------------
[2002-12-16 11:32:40] peter at mediapoland dot 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