note 14050 added to function.jewishtojd.php

From: Date: Sun, 15 Jul 2001 01:40:39 +0000
Subject: note 14050 added to function.jewishtojd.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15398@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"; http://www.php.net/manual/en/function.jewishtojd.php

« previous php.notes (#15398) next »