« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 21 for Week (0.004 sec.)
IntlCalendar::setFirstDayOfWeek — 週の始まりと見なされる曜日を設定する | PHP 8.... 13395
IntlCalendar::setFirstDayOfWeek (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setFirstDayOfWeek — 週の始まりと見なされる曜日を設定する 説明 オブジェクト指向型 public function IntlCalendar::setFirstDayOfWeek ( int $dayOfWeek ... ): true 手続き型 function intlcal_set_first_day_of_week ( IntlCalendar $calendar , int $dayOfWeek ): true 週の始まりとみなされる曜日を定義します。 これは、 IntlCalendar::FIELD_WE ... まりと終わりの概念に依存したフィールドの振る舞いに影響します。 パラメータ calendar IntlCalendar クラスのインスタンス。 dayOfWeek IntlCalendar::DOW_SUNDAY , IntlCalendar::DOW_MONDAY , …, IntlCalendar::DOW_SATURDAY のうちのいずれか。 戻り値 常に true を ... 説明 8.2.0 戻り値の型が、 true になりました。これより前のバージョンでは、 bool でした。 例 例1 IntlCalendar::setFirstDayOfWeek() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'es_ES' ); $cal = IntlCalendar :: ...
https://man.mtool.work/php/8.3/intlcalendar.setfirstdayofweek.html
IntlCalendar::getMinimalDaysInFirstWeek — 特定の年や月における、最初の週の日数... 11974
IntlCalendar::getMinimalDaysInFirstWeek (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getMinimalDaysInFirstWeek — 特定の年や月における、最初の週の日数の最小値を返す 説明 オブジェクト指向型 public function IntlCalendar::getMi ... nimalDaysInFirstWeek (): int | false 手続き型 function intlcal_get_minimal_days_in_first_week ( IntlCalendar $calendar ): int | false 特定の年や ... 場合、 その年の最初の週には1月1日が含まれます。 一方で、この値を7にすると、1月1日はその週の曜日が IntlCalendar::getFirstDayOfWeek() が返した曜日と一致する場合のみ、最初の週になります。 そうでない場合、前年の最後の週として扱われます。 パラメータ calenda ... のインスタンス。 戻り値 日数を示す数値を返します。 失敗した場合に false を返します 例 例1 IntlCalendar::getMinimalDaysInFirstWeek() <?php ini_set ( 'date.timezone' , 'UTC' ); ini_set ( 'intl.default_locale' , 'en_US' ); $cal = new IntlGregorianCalendar ...
https://man.mtool.work/php/8.3/intlcalendar.getminimaldaysinfirstweek.html
strftime — ロケールの設定に基づいてローカルな日付・時間をフォーマットする | PHP... 9809
strftime (PHP 4, PHP 5, PHP 7, PHP 8) strftime — ロケールの設定に基づいてローカルな日付・時間をフォーマットする 警告 この関数は PHP 8.1.0 で 非推奨 になります。この関数に頼らないことを強く推奨します。 この関数の代替として、これらが使えます: ... => '' , 'R' => 'Same as "%H:%M"' , 'S' => 'Two digit representation of the second' , 'T' => 'Same as "%H:%M:%S"' , 'U' => 'Week number of the given year, starting with the first Sunday as the first week' , 'V' => 'ISO-8601:1988 week number of the giv ... en year, starting with the first week of the year with at least 4 weekdays, with Monday being the start of the week' , 'W' => 'A numeric representation of the w ... eek of the year, starting with the first Monday as the first week' , 'X' => 'Preferred time representation based on locale, without the date' , 'Y' => 'Four digit representation for the ye ...
https://man.mtool.work/php/8.3/function.strftime.html
array_udiff — データの比較にコールバック関数を用い、配列の差を計算する | PHP 8.... 9640
array_udiff (PHP 5, PHP 7, PHP 8) array_udiff — データの比較にコールバック関数を用い、配列の差を計算する 説明 function array_udiff ( array $array , array ...$arrays , callable $value_compare_func ): array データの比較にコールバック関数を用い ... ブジェクトを使う例 <?php class MyCalendar { public $free = array(); public $booked = array(); public function __construct ( $week = 'now' ) { $start = new DateTime ( $week ); $start -> modify ( 'Monday this week midnight' ); $end = clone $start ; $end ... -> modify ( 'Friday this week midnight' ); $interval = new DateInterval ( 'P1D' ); foreach (new DatePeriod ( $start , $interval , $end ) as $freeTime ) ... 作ります $myCalendar = new MyCalendar ; // 今週の予約を入れます $myCalendar -> bookAppointment (new DateTime ( 'Monday this week' ), "Cleaning GoogleGuy's apartment." ); $myCalendar -> bookAppointment (new DateTime ( 'Wednesday this week' ), "Going on ...
https://man.mtool.work/php/8.3/function.array-udiff.html
IntlGregorianCalendar::createFromDate — 日付の情報から、新しい IntlGregorianCal... 9437
IntlGregorianCalendar::createFromDate (PHP 8 >= 8.3.0) IntlGregorianCalendar::createFromDate — 日付の情報から、新しい IntlGregorianCalendar のインスタンスを作成する 説明 public static function IntlGregorianCalendar::createFromDate ( int $ye ... ["locale"]=> string(11) "en_US_POSIX" ["fields"]=> array(23) { ["era"]=> int(1) ["year"]=> int(2023) ["month"]=> int(11) ["week of year"]=> int(51) ["week of month"]=> int(4) ["day of year"]=> int(357) ["day of month"]=> int(23) ["day of week"]=> int ... (7) ["day of week in month"]=> int(4) ["AM/PM"]=> int(0) ["hour"]=> int(0) ["hour of day"]=> int(0) ["minute"]=> int(0) ["second"]=> int(0) ... ["millisecond"]=> int(0) ["zone offset"]=> int(3600000) ["DST offset"]=> int(0) ["year for week of year"]=> int(2023) ["localized day of week"]=> int(7) ["extended year"]=> int(2023) ["julian day"]=> int(2460302) ["mil ...
https://man.mtool.work/php/8.3/intlgregoriancalendar.createfromdate.html
IntlGregorianCalendar::createFromDateTime — 日付と時刻の値から、新しい IntlGreg... 9336
IntlGregorianCalendar::createFromDateTime (PHP 8 >= 8.3.0) IntlGregorianCalendar::createFromDateTime — 日付と時刻の値から、新しい IntlGregorianCalendar のインスタンスを作成する 説明 public static function IntlGregorianCalendar::createFromDa ... ["locale"]=> string(11) "en_US_POSIX" ["fields"]=> array(23) { ["era"]=> int(1) ["year"]=> int(2023) ["month"]=> int(11) ["week of year"]=> int(51) ["week of month"]=> int(4) ["day of year"]=> int(357) ["day of month"]=> int(23) ["day of week"]=> int ... (7) ["day of week in month"]=> int(4) ["AM/PM"]=> int(1) ["hour"]=> int(0) ["hour of day"]=> int(12) ["minute"]=> int(0) ["second"]=> int(0) ... ["millisecond"]=> int(0) ["zone offset"]=> int(3600000) ["DST offset"]=> int(0) ["year for week of year"]=> int(2023) ["localized day of week"]=> int(7) ["extended year"]=> int(2023) ["julian day"]=> int(2460302) ["mil ...
https://man.mtool.work/php/8.3/intlgregoriancalendar.createfromdatetime.html
IntlCalendar クラス | PHP 8.3 8845
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 ... _YEAR ; public const int FIELD_WEEK_OF_MONTH ; public const int FIELD_DATE ; public const int FIELD_DAY_OF_YEAR ; public const int FIELD_DAY_OF_WEEK ; public ... const int FIELD_DAY_OF_WEEK_IN_MONTH ; public const int FIELD_AM_PM ; public const int FIELD_HOUR ; public const int FIELD_HOUR_OF_DAY ; public const ... ; public const int DOW_THURSDAY ; public const int DOW_FRIDAY ; public const int DOW_SATURDAY ; public const int DOW_TYPE_WEEKDAY ; public const int DOW_TYPE_WEEKEND ; public const int DOW_TYPE_WEEKEND_OFFSET ; public const int DOW_TYPE_WEEKEND_CEAS ...
https://man.mtool.work/php/8.3/class.intlcalendar.html
IntlCalendar::get — フィールドの値を取得する | PHP 8.3 8490
IntlCalendar::get (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::get — フィールドの値を取得する 説明 オブジェクト指向型 public function IntlCalendar::get ( int $field ): int | false 手続き型 function intlcal_get ( IntlCalenda ... の出力は以下となります。 string(23) "Jul 1, 2013, 4:44:44 AM" 0 (FIELD_ERA) 1 1 (FIELD_YEAR) 2013 2 (FIELD_MONTH) 6 3 (FIELD_WEEK_OF_YEAR) 27 4 (FIELD_WEEK_OF_MONTH) 1 5 (FIELD_DAY_OF_MONTH) 1 6 (FIELD_DAY_OF_YEAR) 182 7 (FIELD_DAY_OF_WEEK) 2 8 (FIELD_ ... DAY_OF_WEEK_IN_MONTH) 1 9 (FIELD_AM_PM) 0 10 (FIELD_HOUR) 4 11 (FIELD_HOUR_OF_DAY) 4 12 (FIELD_MINUTE) 44 13 (FIELD_SECOND) 44 14 (FIE ...
https://man.mtool.work/php/8.3/intlcalendar.get.html
DateTime::setISODate — ISO 形式の日付を設定する | PHP 8.3 8321
DateTime::setISODate date_isodate_set (PHP 5 >= 5.2.0, PHP 7, PHP 8) DateTime::setISODate -- date_isodate_set — ISO 形式の日付を設定する 説明 オブジェクト指向型 public function DateTime::setISODate ( int $year , int $week , int $dayOfWeek = ... 1 ): DateTime 手続き型 function date_isodate_set ( DateTime $object , int $year , int $week , int $dayOfWeek = 1 ): DateTime ISO 8601 標準形式、つまり特定の日付ではなく、週と日のオフセットで日付を設定します。 DateT ... 手続き型のみ: date_create() が返す DateTime オブジェクト。 この関数は、このオブジェクトを変更します。 year その日付の年。 week その日付の週。 dayOfWeek 週の最初の日からのオフセット。 戻り値 メソッドチェインに使う、変更された DateTime オブジェクトを返 ...
https://man.mtool.work/php/8.3/datetime.setisodate.html
サポートする日付と時刻の書式 | PHP 8.3 8270
サポートする日付と時刻の書式 この節では DateTimeImmutable , DateTime , date_create_immutable() , date_create() , date_parse() および strtotime() が解釈可能な、全てのBNFライクな書式について説明します。 これらの書式はセクションごとにグループ分 ... esday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' daytext 'weekday' | 'weekdays' number [+-]?[0-9]+ ordinal 'first' | 'second' | 'third' | 'fourth' | 'fifth' | 'sixth' | 'seventh' | 'eig ... | 'usec' | 'sec' | 'second' | 'min' | 'minute' | 'hour' | 'day' | 'fortnight' | 'forthnight' | 'month' | 'year') 's'?) | 'weeks' | daytext 日付に基づいた表記 書式 説明 例 'yesterday' 昨日の00:00:00 "yesterday 14:00" 'midnight' 時刻を00:00:00にします ... 2008" 'last' space dayname space 'of' 現在月の 最後の 曜日を計算します。 "last sat of July 2008" number space ? ( unit | 'week') 値を数値で指定するような、相対的な時間指定を処理します。 "+5 weeks", "12 day", "-7 weekdays" ( ordinal | reltext ) space ...
https://man.mtool.work/php/8.3/datetime.formats.html
PREV 1 2 3 NEXT