note 14050 deleted from function.jewishtojd by jimw
| From: | jimw@php.net | Date: | Tue, 18 Dec 2001 20:24:16 +0000 |
| Subject: | note 14050 deleted from function.jewishtojd by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23198@lists.php.net to get a copy of this message | ||
For the proper disply of the Hebrew name for the leap year months this script should be used:
echo "<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=iso-8859-8\">";
$da = getdate();
$jd = GregorianToJD("$da[mon]","$da[mday]","$da[year]");
$lunarmonth = jdmonthname($jd,4);
if ($lunarmonth=="AdarI") $lunarmonth = "Adar à";
if ($lunarmonth=="AdarII") $lunarmonth = "Adar á";
echo "$lunarmonth";