jdtounix – Convert Julian Day Number to Unix Timestamp (PHP)
The jdtounix function takes a Julian Day number within the range 2440588‑2465342 and returns the corresponding Unix timestamp for the start of that day in local time, or FALSE if the value falls outside the supported Gregorian years 1970‑2037.
jdtounix – Convert Julian Day Number to Unix Timestamp (PHP)
int jdtounix ( int $jday)
This function returns a Unix timestamp representing the beginning of the given Julian Day number. If the supplied $jday is not within the Unix‑time range (Gregorian years 1970‑2037, i.e., 2440588 ≤ $jday ≤ 2465342 ), the function returns FALSE . The returned timestamp reflects local time, not GMT.
Parameter
jday : An integer Julian Day number between 2440588 and 2465342.
Return Value
Unix timestamp (integer) for the start of the specified Julian Day.
FALSE if the input is out of the supported range.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.