note 69075 added to function.strtotime
| From: | francisw at alchemetrics dot co dot uk | Date: | Tue, 22 Aug 2006 08:43:11 +0000 |
| Subject: | note 69075 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116159@lists.php.net to get a copy of this message | ||
re: javascript versus php by news at mycoolstuff dot de
I believe it is because you are in Germany, (CET=+1hr) in the summer (Daylight savings = +1hr) so
PHP is giving you the correct time locally, whereas the javascript UTC gives you the GMT
(unfortunately renamed to UTC). So the times are the same, but not in the same timezone.
Hope this helps
----
Server IP: 85.116.0.130
Probable Submitter: 80.42.208.198
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/69075
Del: integrated -- https://master.php.net/note/delete/69075/integrated
Del: useless -- https://master.php.net/note/delete/69075/useless
Del: bad code -- https://master.php.net/note/delete/69075/bad+code
Del: spam -- https://master.php.net/note/delete/69075/spam
Del: non-english -- https://master.php.net/note/delete/69075/non-english
Del: in docs -- https://master.php.net/note/delete/69075/in+docs
Del: other reasons-- https://master.php.net/note/delete/69075
Reject -- https://master.php.net/note/reject/69075
Search -- https://master.php.net/manage/user-notes.php