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

x/oak_nest/example/deps.ts>format

Refer to nestjs to realize some common functions for Deno
Go to Latest
function format
import { format } from "https://deno.land/x/oak_nest@v1.13.17/example/deps.ts";

Format date using format string

Parameters

date: Date

Date

formatString: string

Format string

Returns

string

formatted date string