dayOfWeek

Returns the day of week from a date as an integer starting from 1 (Sunday).

See also dayOfMonth, dayOfYear.

Syntax

dayOfWeek()

Examples

$('Date').dayOfWeek()