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

x/hex/src/data/deps.ts>mongo.Timestamp.fromBits

An ecosystem delivering practices, philosophy and portability.
Go to Latest
method mongo.Timestamp.fromBits
Re-export
import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { Timestamp } = mongo;

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.