Date.getDay

Number getDay ()

Description

Returns the day of the week for the specified Date object in local time.

This is an integer from 0 (Sunday) to 6 (Saturday). Returns the day of the week for date.