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
 [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

Pull Requests

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: Sat Dec 21 16:01:28 2024 UTC