|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-17 17:33 UTC] nicke at hallgrens dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 22:00:02 2025 UTC |
Description: ------------ command date("h:m:s") returns same minute over and over again. The hours changes right but minutes seems to just show 04. Same problem occures on PHP 4.4.0 on Linux. Reproduce code: --------------- date ("h:m:s"); Expected result: ---------------- correct time :) Actual result: -------------- C:\php>time The current time is: 20:25:11.04 Enter the new time: C:\php>php ttt.php 08:04:15 C:\php>php ttt.php 08:04:30 C:\php>php ttt.php 08:04:42 C:\php>php ttt.php 08:04:56 C:\php>php ttt.php 08:04:59 C:\php>php ttt.php 08:04:00 C:\php>php ttt.php 08:04:02 C:\php>