Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/lib/data/deps.ts>mongo.Bson.Timestamp.fromString

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
method mongo.Bson.Timestamp.fromString
Re-export
import { mongo } from "https://deno.land/x/hex@0.6.5/src/lib/data/deps.ts";
const { Timestamp } = mongo.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.