Doc #54271 [Opn]: 12/24 formating of getdate()

From: Date: Wed, 16 Mar 2011 13:20:11 +0000
Subject: Doc #54271 [Opn]: 12/24 formating of getdate()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6083@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54271&edit=1 ID: 54271 Updated by: rquadling@php.net Reported by: martin dot meridius at gmail dot com Summary: 12/24 formating of getdate() Status: Open Type: Documentation Problem Package: Date/time related Operating System: Ubuntu 10.10 PHP Version: 5.3SVN-2011-03-16 (SVN) Block user comment: N Private report: N New Comment: Can you run show the entire output of ... php -r "print_r(getdate());" please? Previous Comments: ------------------------------------------------------------------------ [2011-03-16 13:45:23] martin dot meridius at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.getdate#Return Values --- PHP 5.3.3-1ubuntu9.3 with Suhosin-Patch (cli) (built: Jan 12 2011 16:07:38) $today = getdate(); $today[hours]; Returns 12-hours formatted, not 0 to 23 as described in documentation. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54271&edit=1

« previous php.doc.bugs (#6083) next »