unixtojd
Convert Unix timestamps to Julian day counts.
unixtojd()
function converts Unix timestamps into Julian day counts.
Note: Unix timestamps indicate the number of seconds from midnight (Gregorian calendar, solar calendar) on January 1, 1970.
Tip: See the jdtounix() function to convert Julian day counts to Unix timestamps.
Convert Unix timestamps to Julian day counts:
<?php echo unixtojd ( ) ; ?>
Run the instance
unixtojd ( timestamp ) ;
parameter | describe |
---|---|
timestamp | Optional. Specifies the Unix timestamp to be converted. |