ID: 9988 Updated by: danbeck Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: Corrected in phpdoc cvs. Previous Comments: --------------------------------------------------------------------------- [2001-03-26 03:44:00] [EMAIL PROTECTED] The documentation for the date() function at: http://www.php.net/manual/en/function.date.php Has one example: $today = date("D M j g:i:s T Y"); // Sat Mar 10 15:16:08 MST 2001 Note that it appears "g" has yeilded "15" ... This is incorrect: g - hour, 12-hour format without leading zeros; i.e. "1" to "12" G - hour, 24-hour format without leading zeros; i.e. "0" to "23" That should either be a capital "G" in the date() function, or the example output should be changed to indicate that the hour is in 12-hour format. -- Jeff Carnahan - [EMAIL PROTECTED] --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9988&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]