unixtojd
Description
Syntax
unixtojd( ?int $timestamp = null ): int|false
Parameters
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;
2460621
2 · timestamp
<? $timestamp = time(); $return = unixtojd($timestamp); echo $return;
2460621