Get Month : Date Get : Date Time JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Date Time » Date Get »

 

Get Month



    
<html>
<body>
<button onclick="var myDate = new Date(); alert(myDate.getMonth());">
Date: get Month
</button>
</body>
</html>

    
      
      



-

1 Comments

ting

Tuesday 25th of August 2009

is there a way to show the date is a textbox without clicking any button?

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Date Time
» Date Get