Function dateWeekDayName

  • Returns the weekday name of a given date.

    Parameters

    • date: Date

      The date object from which the weekday name is to be extracted.

    Returns string

    The weekday name corresponding to the date.

    Example

    dateWeekDayName(new Date(2010, 10, 7))
    //=> 'Sunday'

Generated using TypeDoc