MongoDB\BSON\ObjectIdInterface::getTimestamp
PHP function
Edit on GitHub ✎
(mongodb >=1.3.0)
Returns the timestamp component of this ObjectIdInterface
Description
MongoDB\BSON\ObjectIdInterface::getTimestamp(): int
Parameters Parameters
Return Values
Returns the timestamp component of this ObjectIdInterface.
See Also
MongoDB\BSON\ObjectId::getTimestamp