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

Returns a Timestamp for the given high and low bits. Each is assumed to use 32 bits.

Parameters

lowBits: number
  • the low 32-bits.
highBits: number
  • the high 32-bits.