Calendar 函数
PHP 手册

unixtojd

(PHP 4, PHP 5)

unixtojdConvert 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.

参数

timestamp

A unix timestamp to convert.

返回值

A julian day number as integer.

参见


Calendar 函数
PHP 手册