• Format a date according to locale standards

    Parameters

    • value: number | Date

      The date value to format. Can be a Date object or a number representing milliseconds since the epoc

    • dateTimeOptions: DateTimeOptions

      Options to apply to the formatter, including locale

    Returns string

    The formatted datetime

Generated using TypeDoc