Module

std/datetime/mod.ts>parse

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

Parse date from string using format string

Parameters

dateString: string

Date string

formatString: string

Format string

Returns

Date

Parsed date