Module

std/datetime/mod.ts>parseDate

Deno standard library
Go to Latest
function parseDate
import { parseDate } from "https://dotland.deno.dev/std@0.36.0/datetime/mod.ts";

Parse date from string using format string

Parameters

dateStr: string

Date string

format: DateFormat

Format string

Returns

Date

Parsed date