array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.jddayofweek.php', 1 => 'jddayofweek', ), 'up' => array ( 0 => 'ref.calendar.php', 1 => 'カレンダー 関数', ), 'prev' => array ( 0 => 'function.gregoriantojd.php', 1 => 'gregoriantojd', ), 'next' => array ( 0 => 'function.jdmonthname.php', 1 => 'jdmonthname', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/calendar/functions/jddayofweek.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
jddayofweek — 曜日を返す
曜日を返します。 モードに依存した文字あるいは整数を返す事が出来ます。
julian_day
ユリウス積算日を表す整数値。
mode
モード | 意味 |
---|---|
0 (デフォルト) | 整数で曜日番号 (0=Sunday, 1=Monday, 等)を返します。 |
1 | 曜日(英グレゴリウス)を含む文字列を返します。 |
2 | 曜日の省略形(英グレゴリウス)を含む文字列を返します。 |
グレゴリウス暦の曜日を表す数値あるいは文字列を返します。