ID:               33300
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jaume at nobainfo dot net
 Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: n.a.
 PHP Version:      Irrelevant
 New Comment:

Time is not 01-23 system. It is 00-23 (or 24h, opposed at 12h).

Midnight is 00:00 like 12AM.

23:00 is like 11PM.

So after 11:59PM, there is 12:00AM (or 00:00).


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

[2005-06-10 18:13:21] [EMAIL PROTECTED]

What time would midnight be in your 01-23 system?

01:00 or 23:00?

The documentation is obviously right 

PS: i also see 0:00 on my clock a lot ...

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

[2005-06-10 16:26:30] [EMAIL PROTECTED]

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

.

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

[2005-06-10 16:19:00] jaume at nobainfo dot net

Description:
------------
In the "date()" function documentation there is a mistake

In Table 1., the line that reads:

    H .. 24-hour format of an hour with leading zeros .. 00 through 23 


Ought to be:

    H .. 24-hour format of an hour with leading zeros .. 01 through 23 


(page referred)
http://es2.php.net/manual/en/function.date.php




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


-- 
Edit this bug report at http://bugs.php.net/?id=33300&edit=1

Reply via email to