PHP.nl

unixtojd

unixtojd

Convert Unix timestamp to Julian Day

 **unixtojd**  $timestamp

Return the Julian Day for a Unix (seconds since 1.1.1970), or for the current day if no is given. Either way, the time is regarded as local time (not UTC). timestamp``timestamp

timestampA unix timestamp to convert.

A julian day number as integer, return.falseforfailure.

jdtounix