Function formatDateShort

  • Formats a date to the short format string 'MMM dd'

    Parameters

    Returns string

    A string representing the formatted date in the short format string 'MMM dd'

    Example

    formatDateShort(new Date());
    // => 'Jan 01'

    formatDateShort('2022-01-01');
    // => 'Jan 01'

Generated using TypeDoc