Function date

  • Format a date as a string.

    Returns

    the formatted date

    Parameters

    • input: string | number | Date

      the date to format

    • format: string = 'yyyy-MM-dd HH:mm:ss'

      the format to use

    • locale: string = 'en-US'

    Returns string

Generated using TypeDoc