Skip to main content
Module

std/datetime/mod.ts>parseDateTime

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

Parse date & time from string using format string

Parameters

datetimeStr: string

Date & time string

format: DateTimeFormat

Format string

Returns

Parsed date