« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 22 for 日数 (0.001 sec.)
cal_days_in_month — 指定した年とカレンダーについて、月の日数を返す | PHP 8.3 13619
cal_days_in_month (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) cal_days_in_month — 指定した年とカレンダーについて、月の日数を返す 説明 function cal_days_in_month ( int $calendar , int $month , int $year ): int この関数は、指定した calendar について ... year 年 month 月の日数を返します。 パラメータ calendar 計算に使用するカレンダー。 month 選択したカレンダーにおける月。 year 選択したカレンダーにお ... ける年。 戻り値 指定したカレンダーの、その月の日数を返します。 例 例1 cal_days_in_month() の例 <?php $number = cal_days_in_month ( CAL_GREGORIAN , 8 , 2003 ); // 31 echo "200 ... 3 年 8 月の日数は { $number } 日です" ; ?> 他のマニュアルの関連ページ Python calendar Linux JM shadow(3) DuckDB Date Functions DuckDB Inter ...
https://man.mtool.work/php/8.3/function.cal-days-in-month.html
IntlCalendar::setMinimalDaysInFirstWeek — 特定の年や月における、最初の週の日数... 10774
IntlCalendar::setMinimalDaysInFirstWeek (PHP 5 >= 5.5.1, PHP 7, PHP 8) IntlCalendar::setMinimalDaysInFirstWeek — 特定の年や月における、最初の週の日数の最小値を設定する 説明 オブジェクト指向型 public function IntlCalendar::setMinimalDaysInFi ... set_minimal_days_in_first_week ( IntlCalendar $calendar , int $days ): true 特定の年や月が持たなければならない、 最初の週の日数の最小値を設定します。 たとえば、グレゴリオ暦においてこの値が1の場合、 その年の最初の週には1月1日が含まれます。 一方で、この ... そうでない場合、前年の最後の週として扱われます。 パラメータ calendar IntlCalendar クラスのインスタンス。 days 設定する最小の日数。 戻り値 常に true を返します。 エラー / 例外 days が範囲外の値 ( 1 より小さいか、 7 より大きい) の場合、 ValueError がスロ ...
https://man.mtool.work/php/8.3/intlcalendar.setminimaldaysinfirstweek.html
IntlCalendar::getMinimalDaysInFirstWeek — 特定の年や月における、最初の週の日数... 10319
IntlCalendar::getMinimalDaysInFirstWeek (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getMinimalDaysInFirstWeek — 特定の年や月における、最初の週の日数の最小値を返す 説明 オブジェクト指向型 public function IntlCalendar::getMi ... lcal_get_minimal_days_in_first_week ( IntlCalendar $calendar ): int | false 特定の年や月が持たなければならない、 最初の週の日数の最小値を返します。 たとえば、グレゴリオ暦においてこの値が1の場合、 その年の最初の週には1月1日が含まれます。 一方で、この値 ... になります。 そうでない場合、前年の最後の週として扱われます。 パラメータ calendar IntlCalendar クラスのインスタンス。 戻り値 日数を示す数値を返します。 失敗した場合に false を返します 例 例1 IntlCalendar::getMinimalDaysInFirstWeek() <?php ini_set ( 'dat ...
https://man.mtool.work/php/8.3/intlcalendar.getminimaldaysinfirstweek.html
easter_days — 指定した年において、3 月 21 日から復活祭までの日数を得る | PHP 8.... 9865
easter_days (PHP 4, PHP 5, PHP 7, PHP 8) easter_days — 指定した年において、3 月 21 日から復活祭までの日数を得る 説明 function easter_days ( ? int $year = null , int $mode = CAL_EASTER_DEFAULT ): int 指定した年 year において、3 月 21 日から復 ... 活祭までの日数を返します。 year が指定されない場合、現在の年が仮定されます。 この関数は、Unix 時の範囲外(すなわち 1970 年以前または 2037 年 ... れ以外に使用可能な定数については カレンダー定数 を参照ください。 戻り値 指定した年 year において、3 月 21 日から復活祭までの日数を返します。 変更履歴 バージョン 説明 8.0.0 year は、nullable になりました。 例 例1 easter_days() の例 <?php echo easter_day ...
https://man.mtool.work/php/8.3/function.easter-days.html
DateInterval::format — 間隔をフォーマットする | PHP 8.3 9562
DateInterval::format (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateInterval::format — 間隔をフォーマットする 説明 public function DateInterval::format ( string $format ): string 間隔をフォーマットします。 パラメータ format 次の文字を、 format パラメー ... 数値 1 , 3 , 12 D 日、数値、先頭に 0 を含む 2 桁 01 , 03 , 31 d 日、数値 1 , 3 , 31 a DateTime::diff() の結果に使った場合は総日数、それ以外の場合は (unknown) 4 , 18 , 8123 H 時間、数値、先頭に 0 を含む 2 桁 01 , 03 , 23 h 時間、数値 1 , 3 , 23 I 分、数値 ... ateTime ( '2010-01-01' ); $february = new DateTime ( '2010-02-01' ); $interval = $february -> diff ( $january ); // %a は総日数を出力します echo $interval -> format ( '%a total days' ). "\n" ; // 一方 %d は、月数に含まれない日数のみを出力します echo $ ...
https://man.mtool.work/php/8.3/dateinterval.format.html
IntlCalendar クラス | PHP 8.3 9410
IntlCalendar クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) はじめに クラス概要 class IntlCalendar { /* 定数 */ public const int FIELD_ERA ; public const int FIELD_YEAR ; public const int FIELD_MONTH ; public const int FIELD_WEEK_OF ... FIELD_WEEK_OF_YEAR int カレンダーの、年内の週番号を表すフィールド。 これは、何曜日を 週の開始日とみなすか 、そして 週の最小日数は何日か によって決まります。 IntlCalendar::FIELD_WEEK_OF_MONTH int カレンダーの、月内の週番号を表すフィールド。 これは、何曜 ... 日を 週の開始日とみなすか 、そして 週の最小日数は何日か によって決まります。 IntlCalendar::FIELD_DATE int カレンダーの、月内の日数を表すフィールド。 IntlCalendar::FIELD_DA ... Y_OF_MONTH と同じで、こちらのほうがよりわかりやすい名前です。 IntlCalendar::FIELD_DAY_OF_YEAR int カレンダーの、年内の日数を表すフィールド。 グレゴリオ暦の場合は、 1 から始まって 365 あるいは 366 で終わります。 IntlCalendar::FIELD_DAY_OF_WEEK int ...
https://man.mtool.work/php/8.3/class.intlcalendar.html
カレンダー 関数 | PHP 8.3 9258
カレンダー 関数 目次 cal_days_in_month — 指定した年とカレンダーについて、月の日数を返す cal_from_jd — ユリウス積算日からサポートされるカレンダーに変換する cal_info — 特定のカレンダーに関する情報を返す cal_to_jd — サポートされるカレンダーから ... ate — 指定した年におけるローカルの復活祭の真夜中のUnix時を得る easter_days — 指定した年において、3 月 21 日から復活祭までの日数を得る frenchtojd — フランス革命暦をユリウス積算日に変換する gregoriantojd — グレゴリウス日をユリウス積算日に変換する jddayo ...
https://man.mtool.work/php/8.3/ref.calendar.html
strptime — strftime() | PHP 8.3 9107
strptime (PHP 5 >= 5.1.0, PHP 7, PHP 8) strptime — strftime() が生成した日付/時刻をパースする 警告 この関数は PHP 8.1.0 で 非推奨 になります。この関数に頼らないことを強く推奨します。 説明 #[ \Deprecated ( since : '8.2' , message : 'use date ... ラメータ 説明 "tm_sec" 分未満の秒数 (0-61) "tm_min" 時間未満の分数 (0-59) "tm_hour" 0 時以降の時間数 (0-23) "tm_mday" 月内の日数 (1-31) "tm_mon" 1 月から数えた月数 (0-11) "tm_year" 1900 年以降の年 "tm_wday" 日曜日からの日数 (0-6) "tm_yday" 1 月 1 日か ... らの日数 (0-365) "unparsed" timestamp の中で、指定された format で判断できなかった部分 変更履歴 バージョン 説明 8.1.0 この関数は、推 ...
https://man.mtool.work/php/8.3/function.strptime.html
カレンダー | PHP 8.3 8518
カレンダー はじめに カレンダー拡張モジュールは異なったカレンダーフォーマット間の変換処理をシンプルにする関数の集まりです。標準としているのは、ユリウス積算日です。 ユリウス積算日は、紀元前 4713 年 1 月 1 日から数え始められています。 複数のカ ... す。 インストール/設定 インストール手順 定義済み定数 カレンダー 関数 cal_days_in_month — 指定した年とカレンダーについて、月の日数を返す cal_from_jd — ユリウス積算日からサポートされるカレンダーに変換する cal_info — 特定のカレンダーに関する情報を返す cal_ ... ate — 指定した年におけるローカルの復活祭の真夜中のUnix時を得る easter_days — 指定した年において、3 月 21 日から復活祭までの日数を得る frenchtojd — フランス革命暦をユリウス積算日に変換する gregoriantojd — グレゴリウス日をユリウス積算日に変換する jddayo ...
https://man.mtool.work/php/8.3/book.calendar.html
gmmktime — GMT 日付から Unix タイムスタンプを取得する | PHP 8.3 8215
gmmktime (PHP 4, PHP 5, PHP 7, PHP 8) gmmktime — GMT 日付から Unix タイムスタンプを取得する 説明 function gmmktime ( int $hour , ? int $minute = null , ? int $second = null , ? int $month = null , ? int $day = null , ? int $year = null ): i ... なら 12 月、-1 なら 11 月になるということです。 12 より大きい値は、その翌年以降の該当する月を表します。 day 前月末から数えた日数。1 から 28、29、30、31 (月によって異なる) までの場合は、その月の「日」を表します。 (負の値を含めた) 1 より小さい値は、前月の ... 日を逆順でたどります。 つまり 0 なら前月の末日、-1 ならそのさらに前日になるということです。 その月の日数より大きい値は、翌月以降の該当する日を表します。 year 年 戻り値 成功時に、Unix タイムスタンプを int で返します。 タイムスタン ...
https://man.mtool.work/php/8.3/function.gmmktime.html
PREV 1 2 3 NEXT