Skip to main content
Module

x/web_bson/mod.js>Timestamp.fromNumber

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method Timestamp.fromNumber
import { Timestamp } from "https://deno.land/x/web_bson@v0.3.0/mod.js";

Returns a Timestamp representing the given number value, provided that it is a finite number. Otherwise, zero is returned.

Parameters

value: number