php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25852 gmstrftime - the %T option didn't woks
Submitted: 2003-10-13 13:09 UTC Modified: 2003-10-14 07:22 UTC
From: willertan1980 at yahoo dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.3.3 OS: WinXP sp1
Private report: No CVE-ID: None
 [2003-10-13 13:09 UTC] willertan1980 at yahoo dot com
Description:
------------
im not sure , this is a bug or not. 
Im WinXP user, works on IIS with PHP 4.3.3
and i found that 

echo gmstrftime('%Y %b %d %T ');

will out put 2003 Oct 13 and 

echo gmstrftime('%Y %b %d %H:%M:%S');

the output is 2003 Oct 13 16:20:03

the %T is missing...

%T - current time, equal to %H:%M:%S


this also happen to strftime



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-13 19:15 UTC] sniper@php.net
RTFM: "Note:  Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime()...e.g. %e, %T, %R and %D (there might be more) and dates prior to Jan 1, 1970 will not work on Windows"
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 09:01:30 2024 UTC