Returns a localized string representation of this date, according to the given format string. Format codes use the same specification as moment.
List of formats
formatDate(new Date(), 'MM/DD/YYYY') // '10/31/2022'
Optional
Generated using TypeDoc
Returns a localized string representation of this date, according to the given format string. Format codes use the same specification as moment.
See
List of formats
Example