Skip to main content
Module

std/datetime/mod.ts>parse

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

Parse date from string using format string

Parameters

dateString: string

Date string

formatString: string

Format string

Returns

Parsed date