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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: leon at leonatkinson dot com
New email:
PHP Version: OS:

 

 [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: Sun Apr 28 12:01:28 2024 UTC