unixtojd

(PHP 4, PHP 5, PHP 7)
Convert Unix timestamp to Julian Day
int unixtojd ([ int $timestamp = time() ] )

Return the Julian Day for a Unix timestamp (seconds since 1.1.1970), or for the current day if no timestamp is given.

Parameters:
timestamp

A unix timestamp to convert.

Returns:

A julian day number as integer.

See also:

jdtounix() -

doc_php
2016-02-24 15:56:14
Comments
Leave a Comment

Please login to continue.