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

x/postgres/deps.ts>date.format

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
function date.format
import { date } from "https://deno.land/x/postgres@v0.17.1/deps.ts";
const { format } = date;

Format date using format string

Parameters

date: Date

Date

formatString: string

Format string

Returns

string

formatted date string