Developer Docs
API Reference
Utilities
Date
Functions
Function: formatDateShort()

web


web / lib/utils/date / formatDateShort

Function: formatDateShort()

formatDateShort(date): string

Format a date for short display (just the date, no time)

Parameters

date

undefined | null | string | Date

Returns

string