|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-11-12 17:57 UTC] lunter at interia dot pl
Description:
------------
date_default_timezone_set() doesn't work with date(), gmdate()
Reproduce code:
---------------
<?
date_default_timezone_set('Europe/Warsaw');
print(date('U').'<br>');
print(gmdate('U').'<br>');
?>
Expected result:
----------------
Different values.
Actual result:
--------------
The same values.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 23:00:01 2026 UTC |
Copy&Paste error, meant date("U") not time() here...