array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'mongodb-bson-objectidinterface.gettimestamp.php', 1 => 'MongoDB\\BSON\\ObjectIdInterface::getTimestamp', 2 => 'Returns the timestamp component of this ObjectIdInterface', ), 'up' => array ( 0 => 'class.mongodb-bson-objectidinterface.php', 1 => 'MongoDB\\BSON\\ObjectIdInterface', ), 'prev' => array ( 0 => 'class.mongodb-bson-objectidinterface.php', 1 => 'MongoDB\\BSON\\ObjectIdInterface', ), 'next' => array ( 0 => 'mongodb-bson-objectidinterface.tostring.php', 1 => 'MongoDB\\BSON\\ObjectIdInterface::__toString', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/objectidinterface/gettimestamp.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\BSON\ObjectIdInterface::getTimestamp

(mongodb >=1.3.0)

MongoDB\BSON\ObjectIdInterface::getTimestampReturns the timestamp component of this ObjectIdInterface

说明

abstract public MongoDB\BSON\ObjectIdInterface::getTimestamp(): int

参数

此函数没有参数。

返回值

Returns the timestamp component of this ObjectIdInterface.

参见