Date.getDate() : getDate : Date JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Date » getDate »

 

Date.getDate()







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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Date
» getDate