unixtojd
Description
Syntax
unixtojd(
?int $timestamp = null
): int|falseParameters
timestamp
A unix timestamp to convert.
Return
Returns the julian day number as an integer, or false on failure.
Examples
1 · void
<? $return = unixtojd(); echo $return;
2461117
2 · timestamp
<? $timestamp = time(); $return = unixtojd($timestamp); echo $return;
2461117