'getDay()' Example : getDay « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- getDay
'getDay()' Example
<html>
<body>
<button onclick="var myDate = new Date(); alert(myDate.getDay());">
get day
</button>
</body>
</html>
Related examples in the same category