Missing function?
| From: | David VanHorn | Date: | Sat, 22 Jul 2000 17:56:57 +0000 |
| Subject: | Missing function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7704@lists.php.net to get a copy of this message | ||
I'm running PHP4 beta 2 here, and I've hit a snag..
My code:
#Make a julian day count
$year=date(Y);
$month=date(j);
$day=date(d);
$jdate=gregoriantojd($month,$day,$year);
if ($Debug) {echo ("Date is:".$jdate."<br>");
Results in this:
Call to undefined function: gregoriantojd()
From the online php manual:
int gregoriantojd(int month, int day, int year);
Why would my call to this function not work?
--
www.SpamWhack.com A pre-emptive strike against spam
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
My transistor sings
with unintended parasitic
the smoke escapes
By Jeff Stout