PHP jdmonthname()関数
例
1998年1月13日の省略されたグレゴリオ暦の月の名前を返します。
<?php
$jd=gregoriantojd(1,13,1998);
echo jdmonthname($jd,0);
?>
定義と使用法
jdmonthname()関数は月の名前を返します。
構文
jdmonthname(jd,mode);
パラメータ値
Parameter | Description |
---|---|
jd | Required. A Julian Day number |
mode | Optional. Specifies which calendar to convert the Julian Day Count to, and how the month name is to be returned. Mode values:
|
技術的な詳細
戻り値: | 指定されたユリウス日とカレンダーの月の名前を返します |
---|---|
PHPバージョン: | 4歳以上 |
❮PHPカレンダーリファレンス