method Intl.DateTimeFormat.format
#DateTimeFormat.format(date?: Formattable | number): stringFormat a date into a string according to the locale and formatting
options of this Intl.DateTimeFormat object.
Parameters #
optional
#date: Formattable | numberThe date to format.
Return Type #
string