JavaScript 1.0; JScript 1.0; ECMAScript v1
date.getDay( )
The day of the week of the specified Date object date, using local time. Return values are between 0 (Sunday) and 6 (Saturday).