php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1414 function gregoriantojd()
Submitted: 1999-05-15 11:12 UTC Modified: 1999-05-15 11:33 UTC
From: roby dot mo at ust dot alpcom dot it Assigned:
Status: Closed Package: Other
PHP Version: 3.0.7 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: roby dot mo at ust dot alpcom dot it
New email:
PHP Version: OS:

 

 [1999-05-15 11:12 UTC] roby dot mo at ust dot alpcom dot it
At call of gregoriantojd the browser answer:

Fatal error: Call to unsupported or undefined function gregoriantojd()

I had try this code:
<?php
$jd = GregorianToJD(10,11,1970);
echo("$jd\n");
$gregorian = JDToGregorian($jd);
echo("$gregorian\n");
?>

only module compiled was: mysql

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-15 11:33 UTC] sas at cvs dot php dot net
Quote from the manual at http://www.php.net/manual/html/ref.calendar.html :

The calendar functions are only available if you have compiled the calendar extension in dl/calendar. Read dl/README for instructions on using it. 

So, you probably don't have compiled them in.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 01:01:28 2024 UTC