formatDate

Formats the date using a custom format string.
Accepts
Returns
Syntax
formatDate(date, format) date.formatDate(format)

The format string can contain the following text to represent parts of the date: YYYY for year, MM for month, DD for day, HH for hour, mm for minute.

JavaScript
formatDate(parseDate("2023-07-10T17:35"), "DD/MM/YYYY h:mma")