Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/postgres/deps.ts>date.parse

PostgreSQL driver for Deno
Go to Latest
function date.parse
import { date } from "https://deno.land/x/postgres@v0.17.1/deps.ts";
const { parse } = date;

Parse date from string using format string

Parameters

dateString: string

Date string

formatString: string

Format string

Returns

Parsed date