timestamp

The ObjectId creation timestamp, with a resolution of one second.

This timestamp can represent time from the UNIX epoch (Jan 1 1970) and is stored as 32 unsigned bits (approximately Feb 2 2106, see ObjectId.MAX's timestamp for an exact value).

Example

ObjectId("699dfad90ca573f85c0eec1c").timestamp // 2026-02-24T19:24:09Z