• Format time

    Parameters

    • date: string | number | Date
    • locales: LocalesArgument = "de-DE"

      the locale (default: 'en-US')

    • Optionaloptions: DateTimeFormatOptions

      DateTimeFormatOptions.

    Returns string

    formatted date