Skip to main content
Module

std/datetime/mod.ts>parseDate

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

Parse date from string using format string

Parameters

dateStr: string

Date string

format: DateFormat

Format string

Returns

Parsed date