« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 22 for Angeles (0.002 sec.)
IntlDateFormatter::format — 日付/時刻 の値を文字列としてフォーマットする | PHP ... 12036
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 ... 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 = datefmt_creat ... e ( 'de-DE' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'Second Formatted output is ' . datefmt_format ( $fmt , 0 ); $fmt = datefmt_crea ... te ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN , 'MM/dd/yyyy' ); echo 'First Formatted output with pattern is ' . datefmt_format ( $fmt ...
https://man.mtool.work/php/8.3/intldateformatter.format.html
IntlDateFormatter::create — Date Formatter を作成する | PHP 8.3 11767
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 を作成する 説明 オブジ ... 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 = datefmt_creat ... e ( "de-DE" , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo "Second Formatted output is " . datefmt_format ( $fmt , 0 ); $fmt = datefmt_crea ... te ( "en_US" , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN , "MM/dd/yyyy" ); echo "First Formatted output with pattern is " . datefmt_format ( $fmt ...
https://man.mtool.work/php/8.3/intldateformatter.create.html
IntlDateFormatter::getDateType — IntlDateFormatter が使用する日付形式を取得する... 10555
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 ... tetype() の例 <?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 ); echo 'First F ... rmat ( $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 ); echo 'Sec ... 指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'datetype of the formatter is : ' . $fmt -> getDateType (); echo 'First Formatte ...
https://man.mtool.work/php/8.3/intldateformatter.getdatetype.html
IntlDateFormatter::getTimeType — IntlDateFormatter が使用する時刻形式を取得する... 10555
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 ... metype() の例 <?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 ); echo 'First F ... rmat ( $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 ); echo 'Sec ... 指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'timetype of the formatter is : ' . $fmt -> getTimeType (); echo 'First Formatte ...
https://man.mtool.work/php/8.3/intldateformatter.gettimetype.html
IntlDateFormatter::getLocale — Formatter が使用するロケールを取得する | PHP 8.3 10151
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 ... 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 'First Forma ... ormat ( $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 'Second Form ... 指向の例 <?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 Formatted ou ...
https://man.mtool.work/php/8.3/intldateformatter.getlocale.html
IntlDateFormatter::parse — 文字列をパースしてタイムスタンプにする | PHP 8.3 9747
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:0 ... 0 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' , IntlDateFormatter ... :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'First parsed output is ' . datefmt_parse ( $fmt , 'Wednesday, December 20, 1989 ...
https://man.mtool.work/php/8.3/intldateformatter.parse.html
IntlDateFormatter::getTimeZoneId — IntlDateFormatter が使用するタイムゾーン ID ... 9326
IntlDateFormatter::getTimeZoneId datefmt_get_timezone_id (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getTimeZoneId -- datefmt_get_timezone_id — IntlDateFormatter が使用するタイムゾーン ID を取得する 説明 オブジェク ... one_id() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'timezone_id of the formatter is: ' . datefmt_get_timezone_id ( $fmt ) . "\n" ; ... 指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'timezone_id of the formatter is: ' . $fmt -> getTimezoneId () . "\n" ; $fmt -> ... formatter is: ' . $fmt -> getTimezoneId (); ?> 上の例の出力は以下となります。 timezone_id of the formatter is: America/Los_Angeles Now timezone_id of the formatter is: Europe/Madrid 参考 datefmt_set_timezone() - タイムゾーンを設定する datefmt_create() - ...
https://man.mtool.work/php/8.3/intldateformatter.gettimezoneid.html
date_default_timezone_get — スクリプト中の日付/時刻関数で使用されるデフォルトタ... 9056
date_default_timezone_get (PHP 5 >= 5.1.0, PHP 7, PHP 8) date_default_timezone_get — スクリプト中の日付/時刻関数で使用されるデフォルトタイムゾーンを取得する 説明 function date_default_timezone_get (): string この関数は、デフォルトのタイムゾ ... : Europe/London date.timezone: Europe/London 例2 タイムゾーンの短縮名の取得 <?php date_default_timezone_set ( 'America/Los_Angeles' ); $ts = mktime ( 0 , 0 , 0 , 1 , 1 , 2024 ); echo date_default_timezone_get () . ' => ' . date ( 'e' ) . ' => ' . date ( ... 'T' , $ts ); 上の例の出力は以下となります。 America/Los_Angeles => America/Los_Angeles => PST 参考 date_default_timezone_set() - スクリプト中の日付/時刻関数で使用されるデフォルトタイムゾ ...
https://man.mtool.work/php/8.3/function.date-default-timezone-get.html
IntlDateFormatter::getErrorMessage — 直近の操作のエラーテキストを取得する | PHP... 8114
IntlDateFormatter::getErrorMessage datefmt_get_error_message (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getErrorMessage -- datefmt_get_error_message — 直近の操作のエラーテキストを取得する 説明 オブジェクト指向型 p ... essage() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); $str = datefmt_format ( $fmt , 0 ); printf ( "ERROR: %s (%d)\n" , datefmt_get_error_m ... 指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); $str = $fmt -> format ( 0 ); printf ( "ERROR: %s (%d)\n" , $fmt -> getErrorMessage () ...
https://man.mtool.work/php/8.3/intldateformatter.geterrormessage.html
IntlDateFormatter::getCalendar — IntlDateFormatter が使用するカレンダー型を取得... 7979
IntlDateFormatter::getCalendar datefmt_get_calendar (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::getCalendar -- datefmt_get_calendar — IntlDateFormatter が使用するカレンダー型を取得する 説明 オブジェクト指向型 publi ... lendar() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'calendar of the formatter is : ' . datefmt_get_calendar ( $fmt ); datefmt_set_c ... 指向の例 <?php $fmt = new IntlDateFormatter ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'calendar of the formatter is : ' . $fmt -> getCalendar (); $fmt -> setCalendar ...
https://man.mtool.work/php/8.3/intldateformatter.getcalendar.html
PREV 1 2 3 NEXT