How to use Calendar JDToGregorian in PHP

In this article I am going to explain about JDToGregorian function in PHP.
  • 1650

PHP Calendar JDToGregorian() Function

The JDToGregorian function converts a Julian day count to a Gregorian date.

Syntax of  JDToGregorian function

jdtogregorian(jd)

Parameters in JDToGregorian function

It has only one parameter:

Parameter Description
jd A number of Julian day count.

Example of Calendar JDToGregorian function

<html>

<body>

 

<?php

$d=jdtofrench(2380087);

echo($d);

?>

 

</body>

</html>

 

Output:

JDToGregorian 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.