PHP jdtojewish() Function
Example
Convert a Julian Day Count to a Jewish date:
<?php
$jd=jdtojewish(1789430);
echo $jd;
?>
Run Example »
Definition and Usage
The jdtojewish() function converts a Julian Day Count to a Jewish date.
Tip: Look at the jewishtojd() function to convert a Jewish date to a Julian Day Count.
Syntax
jdtojewish(jd,hebrew,fl);
Parameter Values
Parameter | Description |
---|---|
jd | Required. A Julian Day number |
hebrew | Optional. When set to TRUE it indicates Hebrew output format. FALSE is default |
fl | Optional. Defines the Hebrew output format. The available formats are:
|
Technical Details
Return Value: | Returns a Jewish date in format "month/day/year" |
---|---|
PHP Version: | 4+ |
Changelog: | The hebrew parameter was added in PHP 4.3, and the fl parameter was added in PHP 5.0 |
❮ PHP Calendar Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.