php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3060 Undefined function gmstrftime
Submitted: 1999-12-28 18:05 UTC Modified: 2000-01-07 06:08 UTC
From: leon at leonatkinson dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 3 OS: Windows & Slackware Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 - 4 = ?
Subscribe to this entry?

 
 [1999-12-28 18:05 UTC] leon at leonatkinson dot com
<?
setlocale ('LC_TIME','en_US');
echo strftime ("%b %d %Y %H:%M:%S",mktime(20,0,0,12,31,98))."\n";
echo gmstrftime ("%b %d %Y %H:%M:%S",mktime(20,0,0,12,31,98))."\n";
?>

produces this error:

Fatal error: Call to undefined function: gmstrftime()

I get the same error in 3.0.12, and 3.0.7, BTW.  Yet, I can see in datetime.c that the function is there.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-07 06:08 UTC] sas at cvs dot php dot net
The function is called strftime
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 13 20:01:34 2024 UTC