Skip to main content
Module

x/mongo/mod.ts>Bson.Timestamp.fromInt

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Bson.Timestamp.fromInt
Re-export
import { Bson } from "https://deno.land/x/mongo@v0.31.1/mod.ts";
const { Timestamp } = Bson;

Returns a Timestamp represented by the given (32-bit) integer value.

Parameters

value: number

Returns

Timestamp