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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: willertan1980 at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 02 23:01:26 2025 UTC