Name
getDay() — NN 2 IE J1 ECMA 1
Synopsis
Returns an integer corresponding to a day of the week for the date
specified by the Date
object.
Returned Value
Integer between 0 and 6. Sunday is 0, Monday is 1, and Saturday is 6.
Parameters
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.