jdtounix
(PHP 4, PHP 5, PHP 7, PHP 8)
jdtounix — Convert Julian Day to Unix timestamp
Description
function jdtounix(
int $julian_day):
int
Parameters
julian_day
-
A julian day number between 2440588 and 106751993607888
on 64bit systems, or between 2440588 and 2465443 on 32bit systems.
Return Values
The unix timestamp for the start (midnight, not noon) of the given Julian day
Errors/Exceptions
If julian_day is outside of the allowed range,
a ValueError is thrown.