|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-01-17 05:26 UTC] jah at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 21:00:02 2026 UTC |
$ts = gmmktime(0, 0, 0, 1, 1, 1970); echo "Timestamp " . gmdate("U (Y-M-d H:i:s)", $ts) . " GMT<br>"; echo "Timestamp " . date("U (Y-M-d H:i:s)", $ts) . " MET +0100<br>"; Unless I misunderstand, the above script should come up with a unix timestamp of 0. In stead, the result is -7200. In in Den Haag, timezone MET, that's GMT+1.