ID: 37107 Comment by: scottmacvicar at ntlworld dot com Reported By: eyglys at yahoo dot com dot br Status: Open Bug Type: Date/time related Operating System: Linux PHP Version: 5.1.2 New Comment:
Read http://www.php.net/manual/en/function.date.php m prints the month number with leading 0, hence why H:m:s produces 10:01:40 Previous Comments: ------------------------------------------------------------------------ [2006-04-17 16:01:06] eyglys at yahoo dot com dot br Description: ------------ mktime don't read a param minutes. Reproduce code: --------------- <? $date = mktime(10,30,40,1,1,1970); echo date("d/m/Y H:m:s",$date); ?> Expected result: ---------------- 01/01/1970 10:30:40 Actual result: -------------- 01/01/1970 10:01:40 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37107&edit=1