array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.unixtojd.php', 1 => 'unixtojd', ), 'up' => array ( 0 => 'ref.calendar.php', 1 => 'カレンダー 関数', ), 'prev' => array ( 0 => 'function.juliantojd.php', 1 => 'juliantojd', ), 'next' => array ( 0 => 'book.datetime.php', 1 => 'Date/Time', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/calendar/functions/unixtojd.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
unixtojd — Unix タイムスタンプをユリウス歴に変換する
Unix タイムスタンプ(1970/1/1 からの秒数)timestamp
をユリウス歴に変換して返します。timestamp
が
指定されない場合は現在の日付が使用されます。
どちらの場合でも、時刻は地方時間と見なされます(UTCではありません)。
timestamp
変換したい Unix タイムスタンプ。
ユリウス積算日を表す整数値を返します。
失敗した場合に false
を返します
バージョン | 説明 |
---|---|
8.0.0 |
timestamp は、nullable になりました。
|