Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Bson.ObjectId.prototype.getTimestamp
Re-export
import { Bson } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
const { ObjectId } = Bson;

Returns the generation date (accurate up to the second) that this ID was generated.