« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 35 for America (0.002 sec.)
アメリカ | PHP 8.3 15785
アメリカ アメリカ America/Adak America/Anchorage America/Anguilla America/Antigua America/Araguaina America/Argentina/Buenos_Aires America/Argentina/Catamarca America/Argentina/Cordoba America/Argentina/Jujuy America/Argentina/La_Rioja America ... ica/Argentina/Mendoza America/Argentina/Rio_Gallegos America/Argentina/Salta America/Argentina/San_Juan America/Argentina/San_Luis America/Argentina/Tuc ... uman America/Argentina/Ushuaia America/Aruba America/Asuncion America/Atikokan America/Bahia America/Bahia_Banderas America/Barbados Am ... erica/Belem America/Belize America/Blanc-Sablon America/Boa_Vista America/Bogota America/Boise America/Cambridge_Bay America/Campo_Grande Amer ...
https://man.mtool.work/php/8.3/timezones.america.html
その他 | PHP 8.3 11902
その他 警告 ここに挙げられているタイムゾーン (UTC 以外のもの) は使用しないでください。 これらは過去のバージョンとの互換性のためにのみ残されているものであり、おかしな挙動を引き起こすかもしれません。 さらに、ここに挙げられているタイムゾーンは ... 奨します。すなわち、先の例なら Asia/Shanghai や Australia/Perth を使うということです。 その他 Africa/Asmera Africa/Timbuktu America/Argentina/ComodRivadavia America/Atka America/Buenos_Aires America/Catamarca America/Coral_Harbour America/Cordoba America ... /Ensenada America/Fort_Wayne America/Godthab America/Indianapolis America/Jujuy America/Knox_IN America/Louisville America/Mendoza America/M ... ontreal America/Nipigon America/Pangnirtung America/Porto_Acre America/Rainy_River America/Rosario America/Santa_Isabel America/Shiprock A ...
https://man.mtool.work/php/8.3/timezones.others.html
IntlDateFormatter::format — 日付/時刻 の値を文字列としてフォーマットする | PHP ... 8608
IntlDateFormatter::format datefmt_format (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::format -- datefmt_format — 日付/時刻 の値を文字列としてフォーマットする 説明 オブジェクト指向型 public function IntlDateFormatter ... 例1 datefmt_format() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'First Formatted output is ' . datefmt_format ( $fmt , 0 ); $fmt = d ... atefmt_create ( 'de-DE' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'Second Formatted output is ' . datefmt_format ( $fmt , 0 ); $fmt = ... datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN , 'MM/dd/yyyy' ); echo 'First Formatted output with pattern is ' . datefmt_f ...
https://man.mtool.work/php/8.3/intldateformatter.format.html
IntlDateFormatter::create — Date Formatter を作成する | PHP 8.3 8529
IntlDateFormatter::create datefmt_create IntlDateFormatter::__construct (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::create -- datefmt_create -- IntlDateFormatter::__construct — Date Formatter を作成する 説明 オブジ ... 例1 datefmt_create() の例 <?php $fmt = datefmt_create ( "en_US" , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo "First Formatted output is " . datefmt_format ( $fmt , 0 ); $fmt = d ... atefmt_create ( "de-DE" , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo "Second Formatted output is " . datefmt_format ( $fmt , 0 ); $fmt = ... datefmt_create ( "en_US" , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN , "MM/dd/yyyy" ); echo "First Formatted output with pattern is " . datefmt_f ...
https://man.mtool.work/php/8.3/intldateformatter.create.html
DateTimeInterface::getOffset — タイムゾーンのオフセットを返す | PHP 8.3 8322
DateTimeInterface::getOffset DateTimeImmutable::getOffset DateTime::getOffset date_offset_get (PHP 5 >= 5.2.0, PHP 7, PHP 8) DateTimeInterface::getOffset -- DateTimeImmutable::getOffset -- DateTime::getOffset -- date_offset_get — タイムゾー ... 1 DateTime::getOffset() の例 オブジェクト指向型 <?php $winter = new DateTimeImmutable ( '2010-12-21' , new DateTimeZone ( 'America/New_York' )); $summer = new DateTimeImmutable ( '2008-06-21' , new DateTimeZone ( 'America/New_York' )); echo $winter -> g ... "\n" ; 上の例の出力は以下となります。 -18000 -14400 手続き型 <?php $winter = date_create ( '2010-12-21' , timezone_open ( 'America/New_York' )); $summer = date_create ( '2008-06-21' , timezone_open ( 'America/New_York' )); echo date_offset_get ( $winter ...
https://man.mtool.work/php/8.3/datetime.getoffset.html
日付/時刻 の算術 | PHP 8.3 8258
日付/時刻 の算術 以下の例は、DST(夏時間) への移行や、 異なった日を持つ月に関する 日付/時刻 の算術の罠をいくつか紹介します。 例1 DateTimeImmutable::add/sub は、経過時間を含む間隔を加算する DST (夏時間) への移行タイミングをまたいで PT24H を足 ... ーンでは) 23/25時間を足しているように見える <?php $dt = new DateTimeImmutable ( "2015-11-01 00:00:00" , new DateTimeZone ( "America/New_York" )); echo "Start: " , $dt -> format ( "Y-m-d H:i:s P" ), PHP_EOL ; $dt = $dt -> add (new DateInterval ( "PT3H" )) ... 終了時刻が移行ポイント上にある場合を除く)。 <?php $dt = new DateTimeImmutable ( "2015-11-01 00:00:00" , new DateTimeZone ( "America/New_York" )); echo "Start: " , $dt -> format ( "Y-m-d H:i:s P" ), PHP_EOL ; $dt = $dt -> modify ( "+24 hours" ); echo "End ... で、 P1D と 1 day は常に同じ結果になります。 <?php $dt = new DateTimeImmutable ( "2015-11-01 00:00:00" , new DateTimeZone ( "America/New_York" )); echo "Start: " , $dt -> format ( "Y-m-d H:i:s P" ), PHP_EOL ; echo "PT24H: " , $dt -> add (new DateInterval ...
https://man.mtool.work/php/8.3/datetime.examples-arithmetic.html
IntlDateFormatter::getDateType — IntlDateFormatter が使用する日付形式を取得する... 8210
IntlDateFormatter::getDateType datefmt_get_datetype (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getDateType -- datefmt_get_datetype — IntlDateFormatter が使用する日付形式を取得する 説明 オブジェクト指向型 public fu ... tefmt_get_datetype() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'datetype of the formatter is : ' . datefmt_get_datetype ( $fmt ); e ... . datefmt_format ( $fmt , 0 ); $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: SHORT , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'Now datetype of the formatter is : ' . datefmt_get_datetype ( $fmt ... オブジェクト指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'datetype of the formatter is : ' . $fmt -> getDateType (); echo 'Fi ...
https://man.mtool.work/php/8.3/intldateformatter.getdatetype.html
IntlDateFormatter::getTimeType — IntlDateFormatter が使用する時刻形式を取得する... 8210
IntlDateFormatter::getTimeType datefmt_get_timetype (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getTimeType -- datefmt_get_timetype — IntlDateFormatter が使用する時刻形式を取得する 説明 オブジェクト指向型 public fu ... tefmt_get_timetype() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'timetype of the formatter is : ' . datefmt_get_timetype ( $fmt ); e ... . datefmt_format ( $fmt , 0 ); $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: SHORT , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'Now timetype of the formatter is : ' . datefmt_get_timetype ( $fmt ... オブジェクト指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'timetype of the formatter is : ' . $fmt -> getTimeType (); echo 'Fi ...
https://man.mtool.work/php/8.3/intldateformatter.gettimetype.html
IntlDateFormatter::getLocale — Formatter が使用するロケールを取得する | PHP 8.3 8115
IntlDateFormatter::getLocale datefmt_get_locale (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getLocale -- datefmt_get_locale — Formatter が使用するロケールを取得する 説明 オブジェクト指向型 public function IntlDateF ... datefmt_get_locale() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'locale of the formatter is : ' . datefmt_get_locale ( $fmt ); echo ... . datefmt_format ( $fmt , 0 ); $fmt = datefmt_create ( 'de-DE' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'locale of the formatter is : ' . datefmt_get_locale ( $fmt ); echo ... オブジェクト指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'locale of the formatter is : ' . $fmt -> getLocale (); echo 'First ...
https://man.mtool.work/php/8.3/intldateformatter.getlocale.html
IntlDateFormatter::parse — 文字列をパースしてタイムスタンプにする | PHP 8.3 8004
IntlDateFormatter::parse datefmt_parse (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::parse -- datefmt_parse — 文字列をパースしてタイムスタンプにする 説明 オブジェクト指向型 public function IntlDateFormatter::parse ( ... オブジェクト指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'First parsed output is ' . $fmt -> parse ( 'Wednesday, December 20, ... 1989 4:00:00 PM PT' ); $fmt = new IntlDateFormatter ( 'de-DE' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); ?> 例2 datefmt_parse() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlD ... ateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'First parsed output is ' . datefmt_parse ( $fmt , 'Wednesday, Decem ...
https://man.mtool.work/php/8.3/intldateformatter.parse.html
PREV 1 2 3 4 NEXT