How to use JulianToJD in PHP Calendar

In this article I am going to explain about JulianToJD function in PHP.
  • 1658

PHP Calendar JulianToJD() Function

The calendar JulianToJD function converts a Julian date to a Julian date count.

Syntax of 
JulianToJD function

juliantojd(month, day, year)

Parameters in JulianToJD  function

It have three parameter and all parameters is required:

Parameter Description
month It specifies the month.
day It specifies the day.
year It specifies the year.

Example of Calendar JulianToJD function

<html>

<body>

 

<?php

$julianjd = juliantojd(8,21,2012);

echo($julianjd);

?>

 

</body>

</html>

 

Output:

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