Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/datetime/mod.ts>parseDateTime

A modern runtime for JavaScript and TypeScript.
Go to Latest
function parseDateTime
import { parseDateTime } from "https://deno.land/x/deno@v0.28.0/std/datetime/mod.ts";

Parse date & time from string using format string

Parameters

datetimeStr: string

Date & time string

Format string

Returns

Parsed date