php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33300 mistake in one command description
Submitted: 2005-06-10 16:19 UTC Modified: 2005-06-10 20:16 UTC
From: jaume at nobainfo dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: n.a.
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jaume at nobainfo dot net
New email:
PHP Version: OS:

 

 [2005-06-10 16:19 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-10 16:26 UTC] derick@php.net
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 18:13 UTC] hholzgra@php.net
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 20:16 UTC] jsgoupil@php.net
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).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 07:01:31 2024 UTC