Calendar 函数
PHP 手册

jdtounix

(PHP 4, PHP 5)

jdtounixConvert Julian Day to Unix timestamp

说明

int jdtounix ( int $jday )

This function will return a Unix timestamp corresponding to the Julian Day given in jday or FALSE if jday is not inside the Unix epoch (Gregorian years between 1970 and 2037 or 2440588 <= jday <= 2465342 ). The time returned is localtime (and not GMT).

参数

jday

A julian day number between 2440588 and 2465342.

返回值

The unix timestamp for the start of the given julian day.

参见


Calendar 函数
PHP 手册