The getDate() method returns the day of the month expressed as an integer from 1 to 31.
<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
dateVar = new Date();
alert(dateVar.getDate());
// -->
</script>
</head>
<body>
</body>
</html>
12.5.getDate |
| 12.5.1. | Date.getDate() |