php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #533 CALENDAR FUNCTIONS
Submitted: 1998-07-09 19:01 UTC Modified: 1998-07-10 13:06 UTC
From: nick at centergate dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.1 OS: 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: nick at centergate dot com
New email:
PHP Version: OS:

 

 [1998-07-09 19:01 UTC] nick at centergate dot com
The supplied code with the GregorianToJD function does not work, even with lower case. None of the calendar functions work.

<?php
$jd = GregorianToJD(10,11,1970);
echo("$jd\n");
$gregorian = JDToGregorian($jd);
echo("$gregorian\n");
?>

I get the error :

Fatal error: Call to unsupported or undefined function gregoriantojd() in
/usr/local/src/work/apache_1.3.0/share/htdocs/work/crypt.phtml on line 2

I would really appreciate a response as it is hoding my project up.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-10 13:06 UTC] shane
Not a bug, you have to compile the calendar functions seperately, and load them either with dl() or in the ini file
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC