Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Bson.Timestamp.fromString
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.ts";
const { Timestamp } = Bson;

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.