PHP unixtojd() Function

The unixtojd() function converts Unix timestamp to Julian Day Count.The unixtojd() function converts a UNIX timestamp to a Julian day count.Return the Julian Day for a Unix timestamp (seconds since 1.1.1970), or for the current day if no timestamp is given. Either way, the time is regarded as local time (not UTC).

Example -