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

x/lume_langdata/deps.ts>date.format

A Lume plugin for multi-language websites.
Go to Latest
function date.format
import { date } from "https://deno.land/x/lume_langdata@v2.0.1/deps.ts";
const { format } = date;

Format date using format string

Parameters

date: Date

Date

formatString: string

Format string

Returns

string

formatted date string