unixtojd

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

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

See also jdtounix().