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

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: Sun Dec 22 02:01:28 2024 UTC