jewishtojd
(PHP 4, PHP 5, PHP 7)
jewishtojd — Converts a date in the Jewish Calendar to Julian Day Count
Description
jewishtojd ( int $month , int $day , int $year ) : int
Although this function can handle dates all the way back to the year 1 (3761 B.C.), such use may not be meaningful. The Jewish calendar has been in use for several thousand years, but in the early days there was no formula to determine the start of a month. A new month was started when the new moon was first observed.
Parameters
-
month
-
The month as a number from
1
to13
, where1
meansTishri
,13
meansElul
, and6
and7
meanAdar
in regular years, butAdar I
andAdar II
, respectively, in leap years. -
day
-
The day as a number from
1
to30
. If the month has only 29 days, the first day of the following month is assumed. -
year
-
The year as a number between 1 and 9999
Return Values
The julian day for the given jewish date as an integer.
See Also
- jdtojewish() - Converts a Julian day count to a Jewish calendar date
- cal_to_jd() - Converts from a supported calendar to Julian Day Count
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.jewishtojd.php