[PHP-DOC] #20480 [Opn]: strftime("%R") doesn't show the time From: derick <email protected>
Date: 11/18/02

 ID: 20480
 Updated by: derick <email protected>
 Reported By: jonathan <email protected>
 Status: Open
-Bug Type: Date/time related
+Bug Type: Documentation problem
 Operating System: Windows 2000
 PHP Version: 4.2.2
 New Comment:

>From the manual page php.net/strftime:

Note: Not all conversion specifiers may be supported by your C
library, in which case they will not be supported by PHP's strftime().
This means that e.g. %e, %T and %D (there might be more) will not work
on Windows.

apperently %R isn't supported either -> doc problem.

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

[2002-11-18 07:35:03] jonathan <email protected>

Hi,

running on a webserver of our client: Windows 2000, IIS 5, PHP 4.2.2.
The command strftime("%R", $timestamp) doesn't display the time as
specified in the docs (hh:mm in 24 hours notation), while this does
work on our test webserver which is a Linux, Apache, PHP-machine.
Substituting this by strftime("%H:%M", $timestamp) does work correctly
and has the same result.

Thanks,
Jonathan

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

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

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php