class Bson.Timestamp
extends LongWithoutOverridesClass
import { Bson } from "https://deno.land/x/mongo@v0.32.0/mod.ts";
const { Timestamp } = Bson;
Static Properties
readonly
MAX_VALUE: LongStatic Methods
fromNumber(value: number): Timestamp
Returns a Timestamp representing the given number value, provided that it is a finite number. Otherwise, zero is returned.
fromString(str: string, optRadix: number): Timestamp
Returns a Timestamp from the given string, optionally using the given radix.