Date.getDay
getDay – Get the day of the week, according to local time (0–6).
Description
Date.getDay()
Get the day of week, 0 (Sunday) to 6 (Saturday).
Return values
Integer
Examples
Example #1 – getDay example
getDay – Get the day of the week, according to local time (0–6).
Date.getDay()
Get the day of week, 0 (Sunday) to 6 (Saturday).
Integer