Returns the timestamp component of this ObjectIdInterface

# MongoDB\BSON\ObjectIdInterface::getTimestamp

(mongodb >=1.3.0)

MongoDB\BSON\ObjectIdInterface::getTimestamp — Returns the timestamp component of this ObjectIdInterface

### 说明

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

### 参数

此函数没有参数。

### 返回值

Returns the timestamp component of this ObjectIdInterface.

### 参见

- MongoDB\BSON\ObjectId::getTimestamp() - Returns the timestamp component of this ObjectId

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open