|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-01-10 20:17 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 11 05:00:02 2025 UTC |
Description: ------------ Not sure if it's my setup or what, but php4.3.4 on Windows XP, Apache 2.0.48 - date("H:i:s") or date("G:i:s") doesn't return the correct hour in 24 hour format. For some reason, 17:15:00 becomes 07:15:00 and so on.... Reproduce code: --------------- print date('H:i:s'); print date('G:i:s'); Expected result: ---------------- Well, it depends on what time it is doesn't it? :-) Er.. it is now 17:21:34 according to my system clock Actual result: -------------- 07:21:34