PHP JewishToJD() function
Complete PHP Calendar Reference
Definition and Usage
The JewishToJD() function converts a Jewish calendar date to a Julian day count.
Syntax
jewishtojd(month,day,year)
|
| Parameter |
Description |
| month |
Required. Specifies the month |
| day |
Required. Specifies the day |
| year |
Required. Specifies the year |
Tips and Notes
Note: Although this function can handle dates back to year 1 (3761 B.C.), you
should notice that in the beginning there was no formula to determine the start
of a month. A new month was started when the new moon was first observed.
Example
<?php
echo(jewishtojd(2,2,5763));
?>
|
The output of the code above will be:
Complete PHP Calendar Reference
|