formats in utc timezone (default: false).

returns unique formatted dates in case of an array (default: false).

the separator to use when joining multiple dates (default: ', ').

formatted date(s) as a string.

  • Parameters

    • date: DateProp
    • Optionalformat: DateFormatType
    • Optionalconfig: DateUtilsConfig

    Returns string

  • Parameters

    • date: DateProp
    • Optionalformat: string
    • Optionalconfig: DateUtilsConfig

    Returns string