Results of 1 - 10 of about 70 for setTimeZone (0.003 sec.)
- タイムゾーンを設定する 11066
- « DateTimeImmutable::setTimestamp DateTimeImmutable::sub » PHP Manual DateTimeImmutable タイムゾーンを設定する 検索 DateTimeImmutable::setTimezone (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutable::setTimezone — タイムゾーンを設定する 説明 #
... [ \NoDiscard ( message : "as DateTimeImmutable::setTimezone() does not modify the object itself" )] public function DateTimeImmutable::setTimezone ( DateTimeZone $timezone ): DateTim ... imeImmutable オブジェクトを返します。 このメソッドをコールした際に指していた時刻は変わりません。 例 例1 DateTimeImmutable::setTimeZone() の例 オブジェクト指向型 <?php $date = new DateTimeImmutable ( '2000-01-01' , new DateTimeZone ( 'Pacific/Nauru' )); echo ... $date -> format ( 'Y-m-d H:i:sP' ) . "\n" ; $newDate = $date -> setTimezone (new DateTimeZone ( 'Pacific/Chatham' )); echo $newDate -> format ( 'Y-m-d H:i:sP' ) . "\n" ; ?> 上の例の出力は以下となりま ...
-
https://man.mtool.work/php/8.3/datetimeimmutable.settimezone.html
- タイムゾーンを設定する 10996
- « 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
... -- datefmt_set_timezone — タイムゾーンを設定する 説明 オブジェクト指向型 public function IntlDateFormatter::setTimeZone ( IntlTimeZone | DateTimeZone | string | null $timezone ): bool 手続き型 function datefmt_set_timezone ( IntlDateFormatter ... この関数は、 true を返すようになりました。 これより前のバージョンでは、 null を返していました。 例 例1 IntlDateFormatter::setTimeZone() の例 <?php ini_set ( 'date.timezone' , 'Europe/Amsterdam' ); $formatter = IntlDateFormatter :: create ( NULL , NULL , NU ... LL , "UTC" ); $formatter -> setTimeZone ( NULL ); echo "NULL\n " , $formatter -> getTimeZone ()-> getId (), "\n" ; $formatter -> setTimeZone ( IntlTimeZone :: cre ...
-
https://man.mtool.work/php/8.3/intldateformatter.settimezone.html
- タイムゾーンを設定する 10940
- « 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
... -- datefmt_set_timezone — タイムゾーンを設定する 説明 オブジェクト指向型 public function IntlDateFormatter::setTimeZone ( IntlTimeZone | DateTimeZone | string | null $timezone ): bool 手続き型 function datefmt_set_timezone ( IntlDateFormatter ... この関数は、 true を返すようになりました。 これより前のバージョンでは、 null を返していました。 例 例1 IntlDateFormatter::setTimeZone() の例 <?php ini_set ( 'date.timezone' , 'Europe/Amsterdam' ); $formatter = IntlDateFormatter :: create ( NULL , NULL , NU ... LL , "UTC" ); $formatter -> setTimeZone ( NULL ); echo "NULL\n " , $formatter -> getTimeZone ()-> getId (), "\n" ; $formatter -> setTimeZone ( IntlTimeZone :: cre ...
-
https://man.mtool.work/php/8.3/intldateformatter.settimezone.html
- DateTime オブジェクトのタイムゾーンを設定する 10686
- « DateTime::setTimestamp DateTime::sub » PHP Manual DateTime DateTime オブジェクトのタイムゾーンを設定する 検索 DateTime::setTimezone date_timezone_set (PHP 5 >= 5.2.0, PHP 7, PHP 8) DateTime::setTimezone -- date_timezone_set — DateTime オブ
... ジェクトのタイムゾーンを設定する 説明 オブジェクト指向型 public function DateTime::setTimezone ( DateTimeZone $timezone ): DateTime 手続き型 function date_timezone_set ( DateTime $object , DateTimeZone $timezone ): Da ... teTime 新しいタイムゾーンを DateTime オブジェクトに設定します。 DateTimeImmutable::setTimezone() に似ていますが、 DateTime を使って動作します。 手続き型のバージョンは、 DateTime オブジェクトを最初の引数に取ります。 パ ... うにするため、 DateTime オブジェクトを返します。 このメソッドをコールした際に指していた時刻は変わりません。 例 例1 DateTime::setTimeZone() の例 オブジェクト指向型 <?php $date = new DateTime ( '2000-01-01' , new DateTimeZone ( 'Pacific/Nauru' )); echo $date -> ...
-
https://man.mtool.work/php/8.3/datetime.settimezone.html
- タイムゾーンを設定する 10432
- « DateTimeImmutable::setTimestamp DateTimeImmutable::sub » PHP Manual DateTimeImmutable タイムゾーンを設定する 検索 DateTimeImmutable::setTimezone (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutable::setTimezone — タイムゾーンを設定する 説明 #
... [ \NoDiscard ( message : "as DateTimeImmutable::setTimezone() does not modify the object itself" )] public function DateTimeImmutable::setTimezone ( DateTimeZone $timezone ): DateTim ... imeImmutable オブジェクトを返します。 このメソッドをコールした際に指していた時刻は変わりません。 例 例1 DateTimeImmutable::setTimeZone() の例 オブジェクト指向型 <?php $date = new DateTimeImmutable ( '2000-01-01' , new DateTimeZone ( 'Pacific/Nauru' )); echo ... $date -> format ( 'Y-m-d H:i:sP' ) . "\n" ; $newDate = $date -> setTimezone (new DateTimeZone ( 'Pacific/Chatham' )); echo $newDate -> format ( 'Y-m-d H:i:sP' ) . "\n" ; ?> 上の例の出力は以下となりま ...
-
https://man.mtool.work/php/8.3/datetimeimmutable.settimezone.html
- DateTime オブジェクトのタイムゾーンを設定する 10178
- « DateTime::setTimestamp DateTime::sub » PHP Manual DateTime DateTime オブジェクトのタイムゾーンを設定する 検索 DateTime::setTimezone date_timezone_set (PHP 5 >= 5.2.0, PHP 7, PHP 8) DateTime::setTimezone -- date_timezone_set — DateTime オブ
... ジェクトのタイムゾーンを設定する 説明 オブジェクト指向型 public function DateTime::setTimezone ( DateTimeZone $timezone ): DateTime 手続き型 function date_timezone_set ( DateTime $object , DateTimeZone $timezone ): Da ... teTime 新しいタイムゾーンを DateTime オブジェクトに設定します。 DateTimeImmutable::setTimezone() に似ていますが、 DateTime を使って動作します。 手続き型のバージョンは、 DateTime オブジェクトを最初の引数に取ります。 パ ... うにするため、 DateTime オブジェクトを返します。 このメソッドをコールした際に指していた時刻は変わりません。 例 例1 DateTime::setTimeZone() の例 オブジェクト指向型 <?php $date = new DateTime ( '2000-01-01' , new DateTimeZone ( 'Pacific/Nauru' )); echo $date -> ...
-
https://man.mtool.work/php/8.3/datetime.settimezone.html
- DateTime::setTimezone のエイリアス 9995
- « date_timezone_get getdate » PHP Manual 日付・時刻 関数 DateTime::setTimezone のエイリアス 検索 date_timezone_set (PHP 5 >= 5.2.0, PHP 7, PHP 8) date_timezone_set — DateTime::setTimezone() のエイリアス 説明 この関数は次の関数のエイリアスで
... す。 DateTime::setTimezone() 関連キーワード: DateTime setTimezone エイリアス date timezone getdate 日付 時刻 ...
-
https://man.mtool.work/php/8.3/function.date-timezone-set.html
- DateTime::setTimezone のエイリアス 9925
- « date_timezone_get getdate » PHP Manual 日付・時刻 関数 DateTime::setTimezone のエイリアス 検索 date_timezone_set (PHP 5 >= 5.2.0, PHP 7, PHP 8) date_timezone_set — DateTime::setTimezone() のエイリアス 説明 この関数は次の関数のエイリアスで
... す。 DateTime::setTimezone() 関連キーワード: DateTime setTimezone エイリアス date timezone set get Search getdate 日付 時刻 navigate Enter select Esc ...
-
https://man.mtool.work/php/8.3/function.date-timezone-set.html
- このカレンダーで使うタイムゾーンを設定する 9487
- « IntlCalendar::setTime IntlCalendar::toDateTime » PHP Manual IntlCalendar このカレンダーで使うタイムゾーンを設定する 検索 IntlCalendar::setTimeZone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setTimeZone — このカレンダーで
... 使うタイムゾーンを設定する 説明 オブジェクト指向型 public function IntlCalendar::setTimeZone ( IntlTimeZone | DateTimeZone | string | null $timezone ): bool 手続き型 function intlcal_set_time_zone ( IntlCalendar $ca ... 08:30" などのオフセットも指定できます。 戻り値 成功時に true を返します。 失敗時に false を返します。 例 例1 IntlCalendar::setTimeZone() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'es_ES' ); $cal = new IntlGregori ... Formatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; $cal -> setTimeZone ( IntlTimeZone :: getGMT ()); echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; echo "(i ...
-
https://man.mtool.work/php/8.3/intlcalendar.settimezone.html
- このカレンダーで使うタイムゾーンを設定する 9431
- « IntlCalendar::setTime IntlCalendar::toDateTime » PHP Manual IntlCalendar このカレンダーで使うタイムゾーンを設定する 検索 IntlCalendar::setTimeZone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setTimeZone — このカレンダーで
... 使うタイムゾーンを設定する 説明 オブジェクト指向型 public function IntlCalendar::setTimeZone ( IntlTimeZone | DateTimeZone | string | null $timezone ): bool 手続き型 function intlcal_set_time_zone ( IntlCalendar $ca ... 08:30" などのオフセットも指定できます。 戻り値 成功時に true を返します。 失敗時に false を返します。 例 例1 IntlCalendar::setTimeZone() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'es_ES' ); $cal = new IntlGregori ... Formatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; $cal -> setTimeZone ( IntlTimeZone :: getGMT ()); echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; echo "(i ...
-
https://man.mtool.work/php/8.3/intlcalendar.settimezone.html