How to use Calendar JDToJewish in PHP

In this article I am going to explain about JDToJewish function in PHP.
  • 1653

PHP Calendar JDToJewish() Function

The JDToJewish function converts a Julian day count to a Jewish date.

Syntax of  JDToJewish function

jdtojewish(jd, hebrew, f1)

Parameters in JDToJewish function

It have three parameter:

Parameter Description
jd A number of Julian day count.
hebrew If it set to true, the output format is string based.
f1 It defines the hebrew output format.

Example of Calendar JDToJewish function

<html>

<body>

<?php

echo(jdtojewish(gregoriantojd(12,8,2000)) . "<br />");

echo(jdtojewish(gregoriantojd(12,8,2000),true));

?>

</body>

</html>

 

Output:

JDToJewish function.jpg

You may also want to read these related articles :
here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.