« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 36 for getTime (0.004 sec.)
このオブジェクトが表す時刻を取得する 12425
« IntlCalendar::getSkippedWallTimeOption IntlCalendar::getTimeZone » PHP Manual IntlCalendar このオブジェクトが表す時刻を取得する 検索 IntlCalendar::getTime (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getTime — このオブジェ ... クトが表す時刻を取得する 説明 オブジェクト指向型 public function IntlCalendar::getTime (): float | false 手続き型 function intlcal_get_time ( IntlCalendar $calendar ): float | false このオブジェクトに関連付けら ... 00.000 UTC) からの経過時刻をミリ秒単位で表した値を float で返します。 失敗した場合に false を返します 例 例1 IntlCalendar::getTime() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'en_US' ); $cal = new IntlGregori ... anCalendar ( 2013 , 4 /* May */ , 1 , 0 , 0 , 0 ); $time = $cal -> getTime (); var_dump ( $time , $time / 1000 == strtotime ( '2013-05-01 00:00:00' )); //true 上の例の出力は以下となります。 float(1 ...
https://man.mtool.work/php/8.3/intlcalendar.gettime.html
このオブジェクトが表す時刻を取得する 12330
« IntlCalendar::getSkippedWallTimeOption IntlCalendar::getTimeZone » PHP Manual IntlCalendar このオブジェクトが表す時刻を取得する 検索 IntlCalendar::getTime (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getTime — このオブジェ ... クトが表す時刻を取得する 説明 オブジェクト指向型 public function IntlCalendar::getTime (): float | false 手続き型 function intlcal_get_time ( IntlCalendar $calendar ): float | false このオブジェクトに関連付けら ... 00.000 UTC) からの経過時刻をミリ秒単位で表した値を float で返します。 失敗した場合に false を返します 例 例1 IntlCalendar::getTime() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'en_US' ); $cal = new IntlGregori ... anCalendar ( 2013 , 4 /* May */ , 1 , 0 , 0 , 0 ); $time = $cal -> getTime (); var_dump ( $time , $time / 1000 == strtotime ( '2013-05-01 00:00:00' )); //true 上の例の出力は以下となります。 float(1 ...
https://man.mtool.work/php/8.3/intlcalendar.gettime.html
スキップされた実時間を扱う際の振る舞いを取得する 10159
« IntlCalendar::getRepeatedWallTimeOption IntlCalendar::getTime » PHP Manual IntlCalendar スキップされた実時間を扱う際の振る舞いを取得する 検索 IntlCalendar::getSkippedWallTimeOption (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalen ... create ( NULL , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'UTC' ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000 )); $cal -> setSkippedWallTimeOption ( IntlCalendar :: WALLTIME_FIRST ); var_dump ( $cal -> getSkippedWalltimeOp ... ()); // 1 WALLTIME_FIRST $cal -> set ( IntlCalendar :: FIELD_HOUR_OF_DAY , 1 ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000 )); $cal -> setSkippedWallTimeOption ( IntlCalendar :: WALLTIME_NEXT_VALID ); var_dump ( $cal -> getSkippedWallt ... // 2 WALLTIME_NEXT_VALID $cal -> set ( IntlCalendar :: FIELD_HOUR_OF_DAY , 1 ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000 )); 上の例の出力は以下となります。 bool(true) int(0) string(40) "Sunday, March 31, 2013 at 1:30:00 AM GMT" int(1 ...
https://man.mtool.work/php/8.3/intlcalendar.getskippedwalltimeoption.html
スキップされた実時間を扱う際の振る舞いを取得する 10064
« IntlCalendar::getRepeatedWallTimeOption IntlCalendar::getTime » PHP Manual IntlCalendar スキップされた実時間を扱う際の振る舞いを取得する 検索 IntlCalendar::getSkippedWallTimeOption (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalen ... create ( NULL , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'UTC' ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000 )); $cal -> setSkippedWallTimeOption ( IntlCalendar :: WALLTIME_FIRST ); var_dump ( $cal -> getSkippedWalltimeOp ... ()); // 1 WALLTIME_FIRST $cal -> set ( IntlCalendar :: FIELD_HOUR_OF_DAY , 1 ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000 )); $cal -> setSkippedWallTimeOption ( IntlCalendar :: WALLTIME_NEXT_VALID ); var_dump ( $cal -> getSkippedWallt ... // 2 WALLTIME_NEXT_VALID $cal -> set ( IntlCalendar :: FIELD_HOUR_OF_DAY , 1 ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000 )); 上の例の出力は以下となります。 bool(true) int(0) string(40) "Sunday, March 31, 2013 at 1:30:00 AM GMT" int(1 ...
https://man.mtool.work/php/8.3/intlcalendar.getskippedwalltimeoption.html
ふたつの IntlCalendar オブジェクトの時刻を比較する 9778
« IntlCalendar::createInstance IntlCalendar::fieldDifference » PHP Manual IntlCalendar ふたつの IntlCalendar オブジェクトの時刻を比較する 検索 IntlCalendar::equals (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::equals — ふたつ ... e is not included in the comparison $cal2 = IntlCalendar :: createInstance ( NULL , 'pt_PT' ); $cal2 -> setTime ( $cal1 -> getTime ()); var_dump ( $cal1 -> equals ( $cal2 )); //TRUE //And set fields state is not included as well $cal2 -> clear ( IntlCal ... the calendar type $cal2 = IntlCalendar :: createInstance ( NULL , 'es_ES@calendar=islamic' ); $cal2 -> setTime ( $cal1 -> getTime ()); var_dump ( $cal1 -> equals ( $cal2 )); //TRUE //Only the time is $cal2 = clone $cal1 ; $cal2 -> setTime ( $cal1 -> ge ... )); //FALSE 関連キーワード: cal IntlCalendar equals オブジェクト var dump 時刻 カレンダー createInstance calendar setTime getTime function bool true 場合 false set es clone ...
https://man.mtool.work/php/8.3/intlcalendar.equals.html
ふたつの IntlCalendar オブジェクトの時刻を比較する 9778
« IntlCalendar::createInstance IntlCalendar::fieldDifference » PHP Manual IntlCalendar ふたつの IntlCalendar オブジェクトの時刻を比較する 検索 IntlCalendar::equals (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::equals — ふたつ ... e is not included in the comparison $cal2 = IntlCalendar :: createInstance ( NULL , 'pt_PT' ); $cal2 -> setTime ( $cal1 -> getTime ()); var_dump ( $cal1 -> equals ( $cal2 )); //TRUE //And set fields state is not included as well $cal2 -> clear ( IntlCal ... the calendar type $cal2 = IntlCalendar :: createInstance ( NULL , 'es_ES@calendar=islamic' ); $cal2 -> setTime ( $cal1 -> getTime ()); var_dump ( $cal1 -> equals ( $cal2 )); //TRUE //Only the time is $cal2 = clone $cal1 ; $cal2 -> setTime ( $cal1 -> ge ... al1 -> equals ( $cal2 )); //FALSE 関連キーワード: IntlCalendar equals dump 時刻 カレンダー createInstance calendar setTime getTime clone included isSet fieldDifference オブジェクト指向 手続き intlcal インスタンス 検知 intl code Intl 拡張 スロー date tim ...
https://man.mtool.work/php/8.3/intlcalendar.equals.html
このカレンダーで使うタイムゾーンを設定する 9493
« IntlCalendar::setTime IntlCalendar::toDateTime » PHP Manual IntlCalendar このカレンダーで使うタイムゾーンを設定する 検索 IntlCalendar::setTimeZone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setTimeZone — このカレンダーで ... 12 , 0 , 0 ); echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; $cal -> setTimeZone ( IntlTimeZone :: getGMT ()); echo IntlDateFormatter :: formatObject ( $cal , IntlDateForma ... tter :: FULL ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; $cal -> setTimeZone ( 'GMT+03:33' ); echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ... ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; 上の例の出力は以下となります。 sábado, 1 de junio de 2013 12:00:00 Hora de verano de Europa occidental (instant ...
https://man.mtool.work/php/8.3/intlcalendar.settimezone.html
このカレンダーで使うタイムゾーンを設定する 9398
« IntlCalendar::setTime IntlCalendar::toDateTime » PHP Manual IntlCalendar このカレンダーで使うタイムゾーンを設定する 検索 IntlCalendar::setTimeZone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setTimeZone — このカレンダーで ... 12 , 0 , 0 ); echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; $cal -> setTimeZone ( IntlTimeZone :: getGMT ()); echo IntlDateFormatter :: formatObject ( $cal , IntlDateForma ... tter :: FULL ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; $cal -> setTimeZone ( 'GMT+03:33' ); echo IntlDateFormatter :: formatObject ( $cal , IntlDateFormatter :: FULL ... ), "\n" ; echo "(instant { $cal -> getTime ()} )\n" ; 上の例の出力は以下となります。 sábado, 1 de junio de 2013 12:00:00 Hora de verano de Europa occidental (instant ...
https://man.mtool.work/php/8.3/intlcalendar.settimezone.html
Returns the current event base time 9208
« EventBase::getMethod EventBase::gotExit » PHP Manual EventBase Returns the current event base time 検索 EventBase::getTimeOfDayCached (PECL event >= 1.2.6-beta) EventBase::getTimeOfDayCached — Returns the current event base time 説明 publ ... ic function EventBase::getTimeOfDayCached (): float On success returns the current time(as returned by gettimeofday() ), looking at the cached value in b ... ase if possible, and calling gettimeofday() or clock_gettime() as appropriate if there is no cached time. パラメータ この関数にはパラメータはありません。 戻り値 ... Returns the current event base time. On failure returns null . 関連キーワード: time EventBase current event base getTimeOfDayCached gettimeofday cached getMethod gotExit beta float success returned looking calling clock gettime appropriate the ...
https://man.mtool.work/php/8.3/eventbase.gettimeofdaycached.html
繰り返される実時間を扱う際の振る舞いを取得する 8827
« IntlCalendar::getNow IntlCalendar::getSkippedWallTimeOption » PHP Manual IntlCalendar 繰り返される実時間を扱う際の振る舞いを取得する 検索 IntlCalendar::getRepeatedWallTimeOption (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar ... create ( NULL , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'UTC' ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000. )); $cal -> setRepeatedWalltimeOption ( IntlCalendar :: WALLTIME_FIRST ); var_dump ( $cal -> getRepeatedWalltim ... ()); // 1 WALLTIME_FIRST $cal -> set ( IntlCalendar :: FIELD_HOUR_OF_DAY , 1 ); var_dump ( $formatter -> format ( $cal -> getTime () / 1000. )); 上の例の出力は以下となります。 int(0) string(42) "Sunday, October 27, 2013 at 1:30:00 AM GMT" int(1) string ... var dump ini formatter IntlDateFormatter getSkippedWallTimeOption function calendar intl getRepeatedWalltimeOption format getTime ...
https://man.mtool.work/php/8.3/intlcalendar.getrepeatedwalltimeoption.html
PREV 1 2 3 4 NEXT