unixtojd

(PHP4 >= 4.0RC2)

unixtojd -- Convert UNIX timestamp to Julian Day

Description

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().

Note: This function is only available in PHP versions after PHP4RC1.


Hosted by Tonec Inc.