Skip to main content
Module

x/mongo/mod.ts>Timestamp.fromString

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

Returns a Timestamp from the given string, optionally using the given radix.

Parameters

str: string
  • the textual representation of the Timestamp.
optRadix: number
  • the radix in which the text is written.