update : 2015.11.03
php.shukuma.com

검색:
 
 
Convert Unix timestamp to Julian Day

unixtojd

(PHP 4, PHP 5, PHP 7)

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.

참고

  • jdtounix() - Convert Julian Day to Unix timestamp