PHP jdtounix() function

PHP jdtojulian() function
PHP jewishtojd() function

In this article, you will learn how to convert a Julian Day Count to UNIX timestamp in PHP. The jdtounix() function returns the UNIX timestamp using the Julian Day Count. Let’s see its syntax and examples.

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

ParameterDetails
jdJulian Day number (minimum range: 2440588  maximum range:2465342)
PHP jdtounix() method

Examples of the jdtounix() function

Example 1. In the following example, we simply make conversions from Julian day to UNIX timestamp.

<?php
$j_d=gregoriantojd(11,01,1992);
echo jdtounix($j_d);
?>
PHP jdtojulian() function
PHP jewishtojd() function

Stay up-to-date about PHP!

We don’t spam!

en English
X
Scroll to Top