Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/datetime/mod.ts>format

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

Format date using format string

Parameters

date: Date

Date

formatString: string

Format string

Returns

string

formatted date string