getDay()function

getDay(target?: PossibleDate): Day
ParamType
targetPossibleDate
Values that can be converted to dates.
Return
Day
Type listing day-of-week strings.

Convert a Date instance to a day-of-week string like "Monday"