Results of 1 - 10 of about 23 for UTCDatetime (0.002 sec.)
- The MongoDB\BSON\UTCDateTime class | PHP 8.3 11595
- The MongoDB\BSON\UTCDateTime class (mongodb >=1.0.0) はじめに Represents a » BSON date . The value is a 64-bit integer that represents the number of milliseconds since the Unix epoch (Jan 1, 1970). Negative values represent dates before 197
... 0. クラス概要 final class MongoDB\BSON\UTCDateTime implements MongoDB\BSON\UTCDateTimeInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final pu ... Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\BSON\UTCDateTimeInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\UTCDateTime::__construct — ... Construct a new UTCDateTime MongoDB\BSON\UTCDateTime::jsonSerialize — Returns a representation that can be converted to JSON MongoDB\BSON\UTCDateTime: ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-utcdatetime.html
- MongoDB\BSON\UTCDateTime::__toString — Returns the string representation of thi... 11595
- MongoDB\BSON\UTCDateTime::__toString (mongodb >=1.0.0) MongoDB\BSON\UTCDateTime::__toString — Returns the string representation of this UTCDateTime 説明 final public function MongoDB\BSON\UTCDateTime::__toString (): string パラメータ この関
... 数にはパラメータはありません。 戻り値 Returns the string representation of this UTCDateTime. 例 例1 MongoDB\BSON\UTCDateTime::__toString() example <?php $utcdatetime = new MongoDB\BSON\UTCDateTime ( 1416445411987 ) ... ; var_dump ((string) $utcdatetime ); ?> 上の例の出力は以下となります。 string(13) "1416445411987" 参考 » BSON Types: Date ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetime.tostring.html
- MongoDB\BSON\UTCDateTime::toDateTime — Returns the DateTime representation of t... 11562
- MongoDB\BSON\UTCDateTime::toDateTime (mongodb >=1.0.0) MongoDB\BSON\UTCDateTime::toDateTime — Returns the DateTime representation of this UTCDateTime 説明 final public function MongoDB\BSON\UTCDateTime::toDateTime (): DateTime パラメータ こ
... の関数にはパラメータはありません。 戻り値 Returns the DateTime representation of this UTCDateTime. The returned DateTime will use the UTC time zone. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException ... on argument parsing errors. 例 例1 MongoDB\BSON\UTCDatetime::toDateTime() example <?php $utcdatetime = new MongoDB\BSON\UTCDateTime ( 1416445411987 ); $datetime = $utcdatetime -> toD ... 5411.987000" object(DateTimeZone)#3 (2) { ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" } 参考 MongoDB\BSON\UTCDateTime::toDateTimeImmutable() - Returns the DateTimeImmutable representation of this UTCDateTime » BSON Types: Date 他のマニュアル ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetime.todatetime.html
- MongoDB\BSON\UTCDateTime::toDateTimeImmutable — Returns the DateTimeImmutable r... 11562
- MongoDB\BSON\UTCDateTime::toDateTimeImmutable (mongodb >=1.20.0) MongoDB\BSON\UTCDateTime::toDateTimeImmutable — Returns the DateTimeImmutable representation of this UTCDateTime 説明 final public function MongoDB\BSON\UTCDateTime::toDateTim
... eTimeImmutable パラメータ この関数にはパラメータはありません。 戻り値 Returns the DateTimeImmutable representation of this UTCDateTime. The returned DateTimeImmutable will use the UTC time zone. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentE ... xception on argument parsing errors. 例 例1 MongoDB\BSON\UTCDatetime::toDateTimeImmutable() example <?php $utcdatetime = new MongoDB\BSON\UTCDateTime ( 1416445411987 ); $datetime = $utcdateti ... 5411.987000" object(DateTimeZone)#3 (2) { ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" } 参考 MongoDB\BSON\UTCDateTime::toDateTime() - Returns the DateTime representation of this UTCDateTime » BSON Types: Date 他のマニュアルの関連ページ Pyth ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetime.todatetimeimmutable.html
- MongoDB\BSON\UTCDateTime::__construct — Construct a new UTCDateTime | PHP 8.3 10925
- MongoDB\BSON\UTCDateTime::__construct (mongodb >=1.0.0) MongoDB\BSON\UTCDateTime::__construct — Construct a new UTCDateTime 説明 final public function MongoDB\BSON\UTCDateTime::__construct ( int | MongoDB\BSON\Int64 | DateTimeInterface | nu
... r of milliseconds since the Unix epoch. Previously, only int , float , and string types were accepted. 例 例1 MongoDB\BSON\UTCDateTime::__construct() example <?php var_dump (new MongoDB\BSON\UTCDateTime ); var_dump (new MongoDB\BSON\UTCDateTime (new DateTim ... e )); var_dump (new MongoDB\BSON\UTCDateTime ( 1416445411987 )); ?> 上の例の出力は、 たとえば以下のようになります。 object(MongoDB\BSON\UTCDateTime)#1 (1) { ["millisec ... onds"]=> string(13) "1484852905560" } object(MongoDB\BSON\UTCDateTime)#1 (1) { ["milliseconds"]=> string(13) "1484852905560" } object(MongoDB\BSON\UTCDateTime)#1 (1) { ["milliseconds"]=> strin ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetime.construct.html
- MongoDB\BSON\UTCDateTime::jsonSerialize — Returns a representation that can be ... 8763
- MongoDB\BSON\UTCDateTime::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\UTCDateTime::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\UTCDateTime::jsonSerialize (): mixed パラメー
... 戻り値 Returns data which can be serialized by json_encode() to produce an extended JSON representation of the MongoDB\BSON\UTCDateTime . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetime.jsonserialize.html
- MongoDB\BSON\UTCDateTimeInterface::__toString — Returns the string representati... 8160
- MongoDB\BSON\UTCDateTimeInterface::__toString (mongodb >=1.3.0) MongoDB\BSON\UTCDateTimeInterface::__toString — Returns the string representation of this UTCDateTimeInterface 説明 abstract public function MongoDB\BSON\UTCDateTimeInterface::
... __toString (): string パラメータ この関数にはパラメータはありません。 戻り値 Returns the string representation of this UTCDateTimeInterface. 参考 MongoDB\BSON\UTCDateTime::__toString() - Returns the string representation of this UTCDateTime ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetimeinterface.tostring.html
- MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable — Returns the DateTimeIm... 8127
- MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable (mongodb >=2.0.0) MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable — Returns the DateTimeImmutable representation of this UTCDateTimeInterface 説明 abstract public function MongoD
... B\BSON\UTCDateTimeInterface::toDateTimeImmutable (): DateTimeImmutable パラメータ この関数にはパラメータはありません。 戻り値 Returns the Dat ... eTimeImmutable representation of this UTCDateTimeInterface. The returned DateTimeImmutable will use the UTC time zone. 参考 MongoDB\BSON\UTCDateTime::toDateTimeImmutable() ... - Returns the DateTimeImmutable representation of this UTCDateTime ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetimeinterface.todatetimeimmut...
- MongoDB\BSON\UTCDateTimeInterface::toDateTime — Returns the DateTime representa... 8093
- MongoDB\BSON\UTCDateTimeInterface::toDateTime (mongodb >=1.3.0) MongoDB\BSON\UTCDateTimeInterface::toDateTime — Returns the DateTime representation of this UTCDateTimeInterface 説明 abstract public function MongoDB\BSON\UTCDateTimeInterface
... toDateTime (): DateTime パラメータ この関数にはパラメータはありません。 戻り値 Returns the DateTime representation of this UTCDateTimeInterface. The returned DateTime should use the UTC time zone. 参考 MongoDB\BSON\UTCDateTime::toDateTime() - Returns the Da ... teTime representation of this UTCDateTime 他のマニュアルの関連ページ Python datetime ...
-
https://man.mtool.work/php/8.3/mongodb-bson-utcdatetimeinterface.todatetime.html
- MongoDB\Driver\Server::getInfo — Returns an array of information describing thi... 7758
- MongoDB\Driver\Server::getInfo (mongodb >=1.0.0) MongoDB\Driver\Server::getInfo — Returns an array of information describing this server 説明 final public function MongoDB\Driver\Server::getInfo (): array Returns an array of information des
... ement"]=> string(1) "1" ["timestamp"]=> string(10) "1635478989" } ["t"]=> int(1) } ["lastWriteDate"]=> object(MongoDB\BSON\UTCDateTime)#7 (1) { ["milliseconds"]=> string(13) "1635478989000" } ["majorityOpTime"]=> array(2) { ["ts"]=> object(MongoDB\BSON\Time ... t"]=> string(1) "1" ["timestamp"]=> string(10) "1635478989" } ["t"]=> int(1) } ["majorityWriteDate"]=> object(MongoDB\BSON\UTCDateTime)#9 (1) { ["milliseconds"]=> string(13) "1635478989000" } } ["maxBsonObjectSize"]=> int(16777216) ["maxMessageSizeBytes"]=> ... int(48000000) ["maxWriteBatchSize"]=> int(100000) ["localTime"]=> object(MongoDB\BSON\UTCDateTime)#10 (1) { ["milliseconds"]=> string(13) "1635478992136" } ["logicalSessionTimeoutMinutes"]=> int(30) ["connectionId"]=> in ...
-
https://man.mtool.work/php/8.3/mongodb-driver-server.getinfo.html