Skip to main content
Module

x/postgres/deps.ts>date.parse

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
function date.parse
import { date } from "https://deno.land/x/postgres@v0.16.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