« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 19 for gettime (0.001 sec.)
IntlCalendar::getTime — このオブジェクトが表す時刻を取得する | PHP 8.3 14240
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 ... 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
IntlCalendar::equals — ふたつの IntlCalendar オブジェクトの時刻を比較する | PHP... 10467
IntlCalendar::equals (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::equals — ふたつの IntlCalendar オブジェクトの時刻を比較する 説明 オブジェクト指向型 public function IntlCalendar::equals ( IntlCalendar $other ): bool 手続き ... 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 ...
https://man.mtool.work/php/8.3/intlcalendar.equals.html
IntlCalendar::setTimeZone — このカレンダーで使うタイムゾーンを設定する | PHP 8.... 10040
IntlCalendar::setTimeZone (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::setTimeZone — このカレンダーで使うタイムゾーンを設定する 説明 オブジェクト指向型 public function IntlCalendar::setTimeZone ( IntlTimeZone | DateTimeZone ... 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
IntlCalendar::getSkippedWallTimeOption — スキップされた実時間を扱う際の振る舞い... 9903
IntlCalendar::getSkippedWallTimeOption (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getSkippedWallTimeOption — スキップされた実時間を扱う際の振る舞いを取得する 説明 オブジェクト指向型 public function IntlCalendar::getSkippe ... 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::getRepeatedWallTimeOption — 繰り返される実時間を扱う際の振る舞い... 9066
IntlCalendar::getRepeatedWallTimeOption (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getRepeatedWallTimeOption — 繰り返される実時間を扱う際の振る舞いを取得する 説明 オブジェクト指向型 public function IntlCalendar::getRepeat ... 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 ...
https://man.mtool.work/php/8.3/intlcalendar.getrepeatedwalltimeoption.html
swoole_timer_tick — Trigger a timer tick callback function by time interval | P... 8776
swoole_timer_tick (PECL swoole >= 1.9.0) swoole_timer_tick — Trigger a timer tick callback function by time interval 説明 function swoole_timer_tick ( int $ms , callable $callback , mixed $param = ? ): int パラメータ ms callback 戻り値 他の ... マニュアルの関連ページ Linux JM timer_delete(2) Linux JM timerfd_create(2) Linux JM timerfd_gettime(2) Python timerfd Vim version8 Linux JM sched_rr_get_interval(2) ...
https://man.mtool.work/php/8.3/function.swoole-timer-tick.html
Swoole\Server::tick — Repeats a given function at every given time-interval. | ... 8776
Swoole\Server::tick (PECL swoole >= 1.9.0) Swoole\Server::tick — Repeats a given function at every given time-interval. 説明 public function Swoole\Server::tick ( int $interval_ms , callable $callback ): void パラメータ interval_ms callback ... ジ Linux JM sched_rr_get_interval(2) Docker Docker EE DuckDB Interval Functions Linux JM timerfd_create(2) Linux JM timerfd_gettime(2) DuckDB UI Extension ...
https://man.mtool.work/php/8.3/swoole-server.tick.html
EventBase::getTimeOfDayCached — Returns the current event base time | PHP 8.3 8640
EventBase::getTimeOfDayCached (PECL event >= 1.2.6-beta) EventBase::getTimeOfDayCached — Returns the current event base time 説明 public function EventBase::getTimeOfDayCached (): float On success returns the current time(as returned by gettime ... timeofday() ), looking at the cached value in base 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 . 他のマニュアルの関連ページ Linux JM gettimeofday(2) Linux JM vdso(7) Linux JM clock(3) Linux JM clock_getcpuclockid(3) Linux JM settimeofday(2) ...
https://man.mtool.work/php/8.3/eventbase.gettimeofdaycached.html
Swoole\Timer::tick — Set a repeating interval timer | PHP 8.3 8076
Swoole\Timer::tick (PECL swoole >= 1.9.0) Swoole\Timer::tick — Set a repeating interval timer 説明 public static function Swoole\Timer::tick ( int $ms , callable $callback , mixed ...$params ): int | false Sets a timer that triggers every m ... k #2 (job) tick #3 (job) 他のマニュアルの関連ページ Python timerfd Python timeit Linux JM timer_delete(2) Linux JM timerfd_gettime(2) Linux JM timerfd_create(2) DuckDB Interval Functions ...
https://man.mtool.work/php/8.3/swoole-timer.tick.html
hrtime — システムの高精度な時刻を取得する | PHP 8.3 7940
hrtime (PHP 7 >= 7.3.0, PHP 8) hrtime — システムの高精度な時刻を取得する 説明 function hrtime ( bool $as_number = false ): array | int | float | false 任意のタイミングから計測したシステムの高精度な時刻を取得します。 返されたタイムスタンプは ... 失敗した場合は false を返します。 変更履歴 バージョン 説明 8.5.0 macOS では、実装が mach_absolute_time() の代わりに clock_gettime_nsec_np(CLOCK_UPTIME_RAW) を使うようになりました。 例 例1 hrtime() の使い方 <?php echo hrtime ( true ), PHP_EOL ; print_r ...
https://man.mtool.work/php/8.3/function.hrtime.html
PREV 1 2 NEXT