array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'class.mongodb-bson-timestamp.php', 1 => 'MongoDB\\BSON\\Timestamp', ), 'up' => array ( 0 => 'book.bson.php', 1 => 'MongoDB\\BSON', ), 'prev' => array ( 0 => 'mongodb-bson-regex.unserialize.php', 1 => 'MongoDB\\BSON\\Regex::unserialize', ), 'next' => array ( 0 => 'mongodb-bson-timestamp.construct.php', 1 => 'MongoDB\\BSON\\Timestamp::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/mongodb/bson/timestamp.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.mongodb-bson-timestamp.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.0.0)
Représente un » horodatage BSON, la valeur se compose d'un horodatage de 4 octets (i.e. secondes depuis l'époque) et d'une incrémentation de 4 octets.
Note: Il s'agit d'un type MongoDB interne utilisé pour la réplication et la fragmentation. Il n'est pas prévu pour le stockage de date générale (MongoDB\BSON\UTCDateTime doit être utilisé à la place).
Version | Description |
---|---|
PECL mongodb 1.12.0 | Implémente Stringable pour PHP 8.0+. |
PECL mongodb 1.3.0 | Implémente MongoDB\BSON\TimestampInterface. |
PECL mongodb 1.2.0 | Implémente Serializable et JsonSerializable. |