php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #16499 strftime("%T") no output
Submitted: 2002-04-08 16:04 UTC Modified: 2002-04-09 09:48 UTC
From: holliwell at gmx dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: win2k Server SP2
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: holliwell at gmx dot net
New email:
PHP Version: OS:

 

 [2002-04-08 16:04 UTC] holliwell at gmx dot net
Hi,

strftime("%T") doesn't produce any output on win2k.

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

print strftime("%T");        //no output
print strftime("%H:%M:%S "); //expected output

Regards 
Friedhelm Betz

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-08 16:06 UTC] derick@php.net
see bug #16498 :)
 [2002-04-08 16:43 UTC] holliwell at gmx dot net
Hi,

blame me, I searched the database, but this one didn't come to my eyes:-), sorry!
According to that note:
Note: Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). 

it may be worth to mention it in the docs explicitly, that strftime("%T") and strftime("%D") doesn't work on windows?

greets
Friedhelm
 [2002-04-08 16:46 UTC] derick@php.net
Sounds like a good idea, reopening as a doc problem.

Derick
 [2002-04-09 04:15 UTC] sander@php.net
Assigning to myself...
 [2002-04-09 09:48 UTC] sander@php.net
This bug has been fixed in CVS.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 21:01:32 2025 UTC