Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/web_bson/src/timestamp.ts>Timestamp.fromBits

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
method Timestamp.fromBits
import { Timestamp } from "https://deno.land/x/web_bson@v0.2.5/src/timestamp.ts";

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.