Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

jdtounix

Description

The jdtounix of Calendar for PHP convert Julian Day to Unix timestamp.

Syntax

jdtounix(
    int $julian_day
): int

Parameters

julian_day

A julian day number between 2440588 and 2465342.

Return

Returns the unix timestamp for the start (midnight, not noon) of the given Julian day.

Examples

1 · julian_day

<?

$julian_day = unixtojd();

$return = jdtounix($julian_day);

echo $return;

?>
1718668800
HomeMenu