What is Calendar JDToUnix in PHP

In this article I am going to explain about JDToUnix function in PHP.
  • 1722

PHP Calendar JDToUnix() Function

The calendar JDToUnix function converts a Julian day count to a Unix timestamp.


Syntax of
JDToUnix function

jdtounix(jd)

Parameters in JDToUnix  function

It has only one parameter:

Parameter Description
jd A number of Julian day count.

Example of Calendar JDToUnix function

<html>

<body>

 

<?php

$unix = JDToUnix(GregorianToJD(8,21,2012));

echo($unix);

?>

 

</body>

</html>

 

Output:

JDToUnix 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

© 2020 DotNetHeaven. All rights reserved.