Easy Tutorial
❮ Func String Str Rot13 Func Simplexml Getname ❯

PHP jewishtojd() Function

PHP Calendar Reference Manual

Example

Convert a Jewish calendar date to a Julian Day Count:


Definition and Usage

The jewishtojd() function converts a Jewish calendar date to a Julian Day Count.

Note: The function handles dates from the Jewish calendar starting from 3761 BC. The Jewish calendar has existed for thousands of years, but early periods did not have a formulaic method for determining the start of the month. The first month of the year is the first observed new moon.

Tip: See the jdtojewish() function to convert a Julian Day Count to a Jewish calendar date.

Syntax

Parameter Description
month Required. A number from 1 to 13 that specifies the month.
day Required. A number from 1 to 30 that specifies the day.
year Required. A number from 1 to 9999 that specifies the year.

Technical Details

Return Value: Returns the Julian Day number.
PHP Version: 4+
--- ---

❮ Func String Str Rot13 Func Simplexml Getname ❯