« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 46 for Lisbon (0.002 sec.)
タイムゾーンを取得する 13654
« IntlDateFormatter::getCalendarObject IntlDateFormatter::isLenient » PHP Manual IntlDateFormatter タイムゾーンを取得する 検索 IntlDateFormatter::getTimeZone datefmt_get_timezone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL intl >= 3.0.0) IntlDateFo ... tlDateFormatter::getTimeZone() の例 <?php $madrid = IntlDateFormatter :: create ( NULL , NULL , NULL , 'Europe/Madrid' ); $lisbon = IntlDateFormatter :: create ( NULL , NULL , NULL , 'Europe/Lisbon' ); var_dump ( $madrid -> getTimezone ()); echo $madri ... d -> getTimezone ()-> getDisplayName ( false , IntlTimeZone :: DISPLAY_GENERIC_LOCATION , "en_US" ), "\n" ; echo $lisbon -> getTimeZone ()-> getId (), "\n" ; // id は ->getTimezoneId() でも取得できます echo $lisbon -> getTimeZoneId (), "\n" ; ... rue) ["id"]=> string(13) "Europe/Madrid" ["rawOffset"]=> int(3600000) ["currentOffset"]=> int(7200000) } Spain Time Europe/Lisbon Europe/Lisbon 参考 IntlDateFormatter::getTimeZoneId() - IntlDateFormatter が使用するタイムゾーン ID を取得する IntlDateFor ...
https://man.mtool.work/php/8.3/intldateformatter.gettimezone.html
タイムゾーンを取得する 13547
« IntlDateFormatter::getCalendarObject IntlDateFormatter::isLenient » PHP Manual IntlDateFormatter タイムゾーンを取得する 検索 IntlDateFormatter::getTimeZone datefmt_get_timezone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL intl >= 3.0.0) IntlDateFo ... tlDateFormatter::getTimeZone() の例 <?php $madrid = IntlDateFormatter :: create ( NULL , NULL , NULL , 'Europe/Madrid' ); $lisbon = IntlDateFormatter :: create ( NULL , NULL , NULL , 'Europe/Lisbon' ); var_dump ( $madrid -> getTimezone ()); echo $madri ... d -> getTimezone ()-> getDisplayName ( false , IntlTimeZone :: DISPLAY_GENERIC_LOCATION , "en_US" ), "\n" ; echo $lisbon -> getTimeZone ()-> getId (), "\n" ; // id は ->getTimezoneId() でも取得できます echo $lisbon -> getTimeZoneId (), "\n" ; ... rue) ["id"]=> string(13) "Europe/Madrid" ["rawOffset"]=> int(3600000) ["currentOffset"]=> int(7200000) } Spain Time Europe/Lisbon Europe/Lisbon 参考 IntlDateFormatter::getTimeZoneId() - IntlDateFormatter が使用するタイムゾーン ID を取得する IntlDateFor ...
https://man.mtool.work/php/8.3/intldateformatter.gettimezone.html
別のカレンダーが、時刻を除いて等しいかを調べる 9550
« IntlCalendar::inDaylightTime IntlCalendar::isLenient » PHP Manual IntlCalendar 別のカレンダーが、時刻を除いて等しいかを調べる 検索 IntlCalendar::isEquivalentTo (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::isEquivalentTo — ... 等しい場合に true を返します。 例 例1 IntlCalendar::isEquivalentTo() <?php $cal1 = IntlCalendar :: createInstance ( 'Europe/Lisbon' , 'pt_PT' ); $cal2 = IntlCalendar :: createInstance ( 'Europe/Lisbon' , 'es_ES' ); $cal2 -> clear (); var_dump ( $cal1 -> ... isEquivalentTo ( $cal2 )); // true $cal3 = IntlCalendar :: createInstance ( 'Europe/Lisbon' , 'en_US' ); var_dump ( $cal1 -> isEquivalentTo ( $cal3 )); // false var_dump ( $cal1 -> getFirstDayOfWeek (), // 2 (Mond ... 時刻を比較する 関連キーワード: IntlCalendar cal 時刻 カレンダー isEquivalentTo bool オブジェクト true createInstance Europe Lisbon var dump function calendar 以外 時間 移行 false getFirstDayOfWeek ...
https://man.mtool.work/php/8.3/intlcalendar.isequivalentto.html
別のカレンダーが、時刻を除いて等しいかを調べる 9550
« IntlCalendar::inDaylightTime IntlCalendar::isLenient » PHP Manual IntlCalendar 別のカレンダーが、時刻を除いて等しいかを調べる 検索 IntlCalendar::isEquivalentTo (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::isEquivalentTo — ... 等しい場合に true を返します。 例 例1 IntlCalendar::isEquivalentTo() <?php $cal1 = IntlCalendar :: createInstance ( 'Europe/Lisbon' , 'pt_PT' ); $cal2 = IntlCalendar :: createInstance ( 'Europe/Lisbon' , 'es_ES' ); $cal2 -> clear (); var_dump ( $cal1 -> ... isEquivalentTo ( $cal2 )); // true $cal3 = IntlCalendar :: createInstance ( 'Europe/Lisbon' , 'en_US' ); var_dump ( $cal1 -> isEquivalentTo ( $cal3 )); // false var_dump ( $cal1 -> getFirstDayOfWeek (), // 2 (Mond ... ntlCalendar オブジェクトの時刻を比較する 関連キーワード: IntlCalendar 時刻 カレンダー isEquivalentTo createInstance Europe Lisbon dump calendar 時間 移行 getFirstDayOfWeek inDaylightTime isLenient オブジェクト指向 手続き intlcal equivalent 不一致 ロケー ...
https://man.mtool.work/php/8.3/intlcalendar.isequivalentto.html
オブジェクトのタイムゾーンを取得する 8833
« IntlCalendar::getTime IntlCalendar::getType » PHP Manual IntlCalendar オブジェクトのタイムゾーンを取得する 検索 IntlCalendar::getTimeZone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getTimeZone — オブジェクトのタイムゾー ... Zone を返します。 失敗時に false を返します。 例 例1 IntlCalendar::getTimeZone() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'en_US' ); $cal = IntlCalendar :: createInstance (); print_r ( $cal -> getTimeZone ( ... 33' ); print_r ( $cal -> getTimeZone ()); 上の例の出力は以下となります。 IntlTimeZone Object ( [valid] => 1 [id] => Europe/Lisbon [rawOffset] => 0 [currentOffset] => 3600000 ) IntlTimeZone Object ( [valid] => 1 [id] => UTC [rawOffset] => 0 [currentOffs ... ード: IntlCalendar getTimeZone IntlTimeZone タイムゾーン print valid rawOffset currentOffset calendar カレンダー 関連 Europe Lisbon createInstance setTimeZone getTime getType オブジェクト指向 手続き intlcal time zone インスタンス 内部的 date ...
https://man.mtool.work/php/8.3/intlcalendar.gettimezone.html
DateTime オブジェクトまたは文字列から、IntlCalendar を作成する 8726
« IntlCalendar::fieldDifference IntlCalendar::get » PHP Manual IntlCalendar DateTime オブジェクトまたは文字列から、IntlCalendar を作成する 検索 IntlCalendar::fromDateTime (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a2) IntlCalendar::fromDat ... る形で、 例外がスローされる可能性があります。 例 例1 IntlCalendar::fromDateTime() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); //same as IntlCalendar::fromDateTime(new DateTime(...)) $cal1 = IntlCalendar :: fromDateTime ( '2013-02-28 00:01:02 Eu ... rope/Berlin' , 'de_DE' ); //Note the timezone is Europe/Berlin, not the default Europe/Lisbon echo IntlDateFormatter :: formatObject ( $cal1 , 'yyyy MMMM d HH:mm:ss VVVV' , 'de_DE' ), "\n" ; 上の例の出力は以下となりま ... ntlCalendar DateTime オブジェクト fromDateTime 場合 string Europe datetime null function locale date タイムゾーン timezone Lisbon cal Berlin de fieldDifference Search ...
https://man.mtool.work/php/8.3/intlcalendar.fromdatetime.html
IntlCalendar を DateTime オブジェクトに変換する 8726
« IntlCalendar::setTimeZone IntlGregorianCalendar » PHP Manual IntlCalendar IntlCalendar を DateTime オブジェクトに変換する 検索 IntlCalendar::toDateTime (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a2) IntlCalendar::toDateTime — IntlCalenda ... ( 'date.timezone' , 'UTC' ); ini_set ( 'intl.default_locale' , 'pt_PT' ); $cal = IntlCalendar :: createInstance ( 'Europe/Lisbon' ); //current time $dt = $cal -> toDateTime (); print_r ( $dt ); 上の例の出力は以下となります。 DateTime Object ( [date] = ... > 2013-07-02 00:29:13 [timezone_type] => 3 [timezone] => Europe/Lisbon ) 参考 IntlCalendar::fromDateTime() - DateTime オブジェクトまたは文字列から、IntlCalendar を作成する IntlCalendar::getTime ... ワード: IntlCalendar DateTime toDateTime タイムゾーン date timezone time calendar 精度 単位 依存 時刻 createInstance Europe Lisbon setTimeZone IntlGregorianCalendar オブジェクト指向 手続き intlcal 瞬間 表現 インスタンス データベース ミリ ...
https://man.mtool.work/php/8.3/intlcalendar.todatetime.html
DateTime オブジェクトまたは文字列から、IntlCalendar を作成する 8634
« IntlCalendar::fieldDifference IntlCalendar::get » PHP Manual IntlCalendar DateTime オブジェクトまたは文字列から、IntlCalendar を作成する 検索 IntlCalendar::fromDateTime (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a2) IntlCalendar::fromDat ... る形で、 例外がスローされる可能性があります。 例 例1 IntlCalendar::fromDateTime() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); //same as IntlCalendar::fromDateTime(new DateTime(...)) $cal1 = IntlCalendar :: fromDateTime ( '2013-02-28 00:01:02 Eu ... rope/Berlin' , 'de_DE' ); //Note the timezone is Europe/Berlin, not the default Europe/Lisbon echo IntlDateFormatter :: formatObject ( $cal1 , 'yyyy MMMM d HH:mm:ss VVVV' , 'de_DE' ), "\n" ; 上の例の出力は以下となりま ... 1:02 Deutschland Zeit 関連キーワード: IntlCalendar DateTime fromDateTime Europe datetime locale date タイムゾーン timezone Lisbon Berlin fieldDifference オブジェクト指向 static 手続き intlcal time カレンダー 瞬間 過去 未来 日付 精度 保持 データベース ...
https://man.mtool.work/php/8.3/intlcalendar.fromdatetime.html
エポックからのカレンダーの時刻をミリ秒単位で設定する 8634
« IntlCalendar::setSkippedWallTimeOption IntlCalendar::setTimeZone » PHP Manual IntlCalendar エポックからのカレンダーの時刻をミリ秒単位で設定する 検索 IntlCalendar::setTime (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setTi ... 時に true を返します。 失敗時に false を返します。 例 例1 IntlCalendar::setTime() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'fr_FR' ); $cal = new IntlGregorianCalendar ( 2013 , 5 /* May */ , 1 , 12 , 0 , 0 ); ... echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; /* In Europe/Lisbon, on 2013-10-27 at 0200, the clock goes back one hour and the timezone from UTC+01 to UTC+00 */ $cal -> setTime ( strtotime ... teFormatter エポック ミリ Europe 時刻 単位 カレンダー timestamp 瞬間 formatObject heure Ouest float calendar 経過 timezone Lisbon strtotime avancée dimanche octobre setSkippedWallTimeOption setTimeZone ...
https://man.mtool.work/php/8.3/intlcalendar.settime.html
タイムゾーンを設定する 8329
« IntlDateFormatter::setPattern ResourceBundle » PHP Manual IntlDateFormatter タイムゾーンを設定する 検索 IntlDateFormatter::setTimeZone datefmt_set_timezone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL intl >= 3.0.0) IntlDateFormatter::setTimeZone ... n " , $formatter -> getTimeZone ()-> getId (), "\n" ; $formatter -> setTimeZone ( IntlTimeZone :: createTimeZone ( 'Europe/Lisbon' )); echo "IntlTimeZone\n " , $formatter -> getTimeZone ()-> getId (), "\n" ; $formatter -> setTimeZone (new DateTimeZone ... 0:30' ); print_r ( $formatter -> getTimeZone ()); 上の例の出力は以下となります。 NULL Europe/Amsterdam IntlTimeZone Europe/Lisbon DateTimeZone Europe/Paris String Europe/Rome IntlTimeZone Object ( [valid] => 1 [id] => GMT+00:30 [rawOffset] => 1800000 [ ... timezone setTimeZone IntlTimeZone Europe DateTimeZone getTimeZone date getId datefmt default 識別子 データベース Amsterdam Lisbon Paris Rome setPattern ResourceBundle intl オブジェクト指向 手続き フォーマッター ...
https://man.mtool.work/php/8.3/intldateformatter.settimezone.html
PREV 1 2 3 4 5 NEXT