PHP jdtojulian() function

PHP jdtojewish() Function
PHP jdtounix() function

In this article, you will learn how to use the PHP jdtojulian() function to convert a Julian Day Count to a Julian Date.

What is the syntax of the jdtojulian() function in PHP?

jdtojulian(jd);
ParameterDetails
jdJulian Day Number – Required
PHP jdtojulian() method

Examples of the jdtojulian() function

Example 1. In the following example, we simply convert a Julian Day Count to Julian Date and then convert the Date Date back to Julian Day Count.

<?php
jDate = dtojulian(6,20,2007);
$jday=juliantojd(jDate);
echo $jday;
?>
PHP jdtojewish() Function
PHP jdtounix() function
en English
X
Scroll to Top