ID:               37107
 Updated by:       [EMAIL PROTECTED]
 Reported By:      eyglys at yahoo dot com dot br
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Linux
 PHP Version:      5.1.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

See http://php.net/date to see what "m" does.


Previous Comments:
------------------------------------------------------------------------

[2006-04-17 16:34:21] scottmacvicar at ntlworld dot com

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

------------------------------------------------------------------------

[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

Reply via email to