« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for microsecond (0.002 sec.)
DateTime::setTime — 時刻を設定する | PHP 8.3 11468
DateTime::setTime date_time_set (PHP 5 >= 5.2.0, PHP 7, PHP 8) DateTime::setTime -- date_time_set — 時刻を設定する 説明 オブジェクト指向型 public function DateTime::setTime ( int $hour , int $minute , int $second = 0 , int $microsecond = 0 ... ): DateTime 手続き型 function date_time_set ( DateTime $object , int $hour , int $minute , int $second = 0 , int $microsecond = 0 ): DateTime DateTime オブジェクトの現在時刻を別の時刻にリセットします。 DateTimeImmutable::setTime() に似ていますが、 ... オブジェクト。 この関数は、このオブジェクトを変更します。 hour その時刻の時。 minute その時刻の分。 second その時刻の秒。 microsecond その時刻のマイクロ秒。 戻り値 メソッドチェインに使う、変更された DateTime オブジェクトを返します。 変更履歴 バージョン 説明 ... (夏時間遷移が起こる前の)最初の hour ではなく、 (夏時間遷移が起きた後の)二番目の hour を取得していました。 7.1.0 パラメータ microsecond が追加されました。 参考 DateTimeImmutable::setTime() - 時刻を設定する 他のマニュアルの関連ページ Python datetime DuckDB Ti ...
https://man.mtool.work/php/8.3/datetime.settime.html
DateTime::setMicrosecond — 時刻のマイクロ秒部分を設定する | PHP 8.3 10623
DateTime::setMicrosecond (PHP 8 >= 8.4.0) DateTime::setMicrosecond — 時刻のマイクロ秒部分を設定する 説明 public function DateTime::setMicrosecond ( int $microsecond ): static 時刻のマイクロ秒部分を設定します。 DateTimeImmutable::setMicrosecond ... ond() に似ていますが、 DateTime を使って動作します。 パラメータ microsecond 設定するマイクロ秒の値 ( 0 から 999999 )。 戻り値 メソッドチェインに使う、変更された DateTime オブジェクトを返します。 エラ ... ー / 例外 microsecond が [ 0 , 999999 ] の範囲外の場合、 DateRangeError がスローされます。 例 例1 DateTime::setMicrosecond() の例 <?php $date = ... DateTime :: createFromTimestamp ( 123.456789 ); echo $date -> format ( 'Y-m-d H:i:s.u' ) . PHP_EOL ; $date -> setMicrosecond ( 987654 ); echo $date -> format ( 'Y-m-d H:i:s.u' ) . PHP_EOL ; ?> 上の例の出力は以下となります。 1970-01-01 00:02:03.456 ...
https://man.mtool.work/php/8.3/datetime.setmicrosecond.html
The HRTime\Unit class | PHP 8.3 10479
The HRTime\Unit class (PECL hrtime >= 0.4.3) はじめに クラス概要 class HRTime\Unit { /* 定数 */ const int SECOND = 0 ; const int MILLISECOND = 1 ; const int MICROSECOND = 2 ; const int NANOSECOND = 3 ; /* メソッド */ } 定義済み定数 HRTime\U ... nit::SECOND HRTime\Unit::MILLISECOND HRTime\Unit::MICROSECOND HRTime\Unit::NANOSECOND 他のマニュアルの関連ページ DuckDB Metrics ...
https://man.mtool.work/php/8.3/class.hrtime-unit.html
DateTimeImmutable::setMicrosecond — 時刻のマイクロ秒部分を設定する | PHP 8.3 10479
DateTimeImmutable::setMicrosecond (PHP 8 >= 8.4.0) DateTimeImmutable::setMicrosecond — 時刻のマイクロ秒部分を設定する 説明 #[ \NoDiscard ( message : "as DateTimeImmutable::setMicrosecond() does not modify the object itself" )] public functi ... on DateTimeImmutable::setMicrosecond ( int $microsecond ): static 元のオブジェクトを基にマイクロ秒部分を変更した、 新しい DateTimeImmutable オブジェクトを返しま ... す。 パラメータ microsecond 設定するマイクロ秒の値 ( 0 から 999999 )。 戻り値 変更されたデータを持つ、新しい DateTimeImmutable オブジェクトを返します。 ... エラー / 例外 microsecond が [ 0 , 999999 ] の範囲外の場合、 DateRangeError がスローされます。 例 例1 DateTimeImmutable::setMicrosecond() の例 <?php ...
https://man.mtool.work/php/8.3/datetimeimmutable.setmicrosecond.html
DateTimeImmutable::setTime — 時刻を設定する | PHP 8.3 9347
DateTimeImmutable::setTime (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutable::setTime — 時刻を設定する 説明 #[ \NoDiscard ( message : "as DateTimeImmutable::setTime() does not modify the object itself" )] public function DateTimeImmutable::s ... etTime ( int $hour , int $minute , int $second = 0 , int $microsecond = 0 ): DateTimeImmutable 指定された時刻を設定した、 新しい DateTimeImmutable オブジェクトを返します。 パラメータ hour その ... 時刻の時。 minute その時刻の分。 second その時刻の秒。 microsecond その時刻のマイクロ秒。 戻り値 変更されたデータを持つ、新しい DateTimeImmutable オブジェクトを返します。 変更履歴 バージョン ... ジョンでは、 (夏時間遷移が起こる前の)最初の hour ではなく、 (夏時間遷移が起きた後の)二番目の hour を取得していました。 7.1.0 microsecond パラメータが追加されました。 例 例1 DateTimeImmutable::setTime() の例 オブジェクト指向型 <?php $date = new DateTimeImmutab ...
https://man.mtool.work/php/8.3/datetimeimmutable.settime.html
DateTime クラス | PHP 8.3 7639
DateTime クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8) はじめに 日付と時刻を表現するクラスです。 このクラスは、 DateTimeImmutable と同じ振る舞いをします。 但し、 DateTime::modify() のような、 オブジェクトそのものを変更するメソッドが呼び出された時を ... nt $day ): DateTime public function setISODate ( int $year , int $week , int $dayOfWeek = 1 ): DateTime public function setMicrosecond ( int $microsecond ): static public function setTime ( int $hour , int $minute , int $second = 0 , int $microsecond = 0 ): ... targetObject , bool $absolute = false ): DateInterval public function format ( string $format ): string public function getMicrosecond (): int public function getOffset (): int public function getTimestamp (): int public function getTimezone (): DateTimeZon ... ate — __set_state ハンドラ DateTime::setDate — 日付を設定する DateTime::setISODate — ISO 形式の日付を設定する DateTime::setMicrosecond — 時刻のマイクロ秒部分を設定する DateTime::setTime — 時刻を設定する DateTime::setTimestamp — Unix タイムスタンプを用いて日 ...
https://man.mtool.work/php/8.3/class.datetime.html
DateTimeImmutable クラス | PHP 8.3 7639
DateTimeImmutable クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8) はじめに 日付と時刻を表現します。 このクラスは DateTime と同じ振る舞いをします。 但し、 DateTime::modify() のような、 状態を変更して新しいオブジェクトを返すメソッドが呼び出された時を除 ... Date ( int $year , int $week , int $dayOfWeek = 1 ): DateTimeImmutable #[ \NoDiscard ( message : "as DateTimeImmutable::setMicrosecond() does not modify the object itself" )] public function setMicrosecond ( int $microsecond ): static #[ \NoDiscard ( messag ... setTime() does not modify the object itself" )] public function setTime ( int $hour , int $minute , int $second = 0 , int $microsecond = 0 ): DateTimeImmutable #[ \NoDiscard ( message : "as DateTimeImmutable::setTimestamp() does not modify the object itself ... targetObject , bool $absolute = false ): DateInterval public function format ( string $format ): string public function getMicrosecond (): int public function getOffset (): int public function getTimestamp (): int public function getTimezone (): DateTimeZon ...
https://man.mtool.work/php/8.3/class.datetimeimmutable.html
Yac | PHP 8.3 7082
Yac はじめに Yac (Yet Another Cache) is a lock-free, shared memory user data cache, and can be used to replace APC or local memcached. Yac stores data in shared memory, which makes it visible to every PHP worker of the same machine without ... ication in the access path, a read is essentially a hash lookup in shared memory. As a result, Yac is extremely fast, with microsecond-level read latency, and its throughput can scale with the number of workers as long as writes are spread across keys; see ...
https://man.mtool.work/php/8.3/book.yac.html
サポートする日付と時刻の書式 | PHP 8.3 6075
サポートする日付と時刻の書式 この節では DateTimeImmutable , DateTime , date_create_immutable() , date_create() , date_parse() および strtotime() が解釈可能な、全てのBNFライクな書式について説明します。 これらの書式はセクションごとにグループ分 ... 'this' reltext 'next' | 'last' | 'previous' | 'this' space [ \t]+ unit 'ms' | 'µs' | (( 'msec' | 'millisecond' | 'µsec' | 'microsecond' | 'usec' | 'sec' | 'second' | 'min' | 'minute' | 'hour' | 'day' | 'fortnight' | 'forthnight' | 'month' | 'year') 's'?) | ...
https://man.mtool.work/php/8.3/datetime.formats.html
PREV 1 NEXT