Syntax
jdtojewish ( $juliandaycount, [$hebrew [, $fl]] ); |
Definition and Usage
The JDToJewish() function converts a Julian day count to a Jewish calendar date. If the hebrew parameter is set to TRUE, the fl parameter is used for Hebrew, string based, output format.
Paramters
Parameter | Description |
---|---|
juliandaycount | Required. A julian day number as integer |
herbew | Optional. True indicates Hebrew output format |
fl | Optional. Defines the Hebrew output format. The available formats are:
|
Return Value
The jewish date as a string in the form "month/day/year"
Example
Try out following example:
<?php echo(jdtojewish(gregoriantojd(10,8,2002)) . "<br /> echo(jdtojewish(gregoriantojd(10,8,2002),true)); ?> |
This will produce following result:
2/2/5763 � ���� ����� |
No comments:
Post a Comment