English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
PHP Calendar Calendar Function Manual
The jdtounix() function converts Julian day count to Unix timestamp.
jdtounix ($jday );
If the jday parameter is not within the Unix new era (meaning the Gregorian year must be between 1970 and 2037 or jday>= 2440588 and jday<= 2465342If the jday parameter is not within the Unix new era (meaning the Gregorian year must be between
Serial Number | Parameters and Description |
---|---|
1 | jday(essential) a 2440588 to 2465342 The number of Julian days between. |
Given Unix timestamp starting from Julian Day.
Convert Gregorian calendar dates to Julian day count and then convert Julian day count to Unix timestamp:
<?php $jd = gregoriantojd(11,3,1990); $unix = jdtounix($jd); echo($unix); ?>Test and see‹/›
This will produce the following result-
657590400