Get Year : Date Get : Date Time JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Date Time » Date Get »

 

Get Year



    
<html>
<body>
<button onclick="var myDate = new Date(); 
alert(myDate.getYear());">Date: GETYEAR</button>
</body>
</html>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Date Time
» Date Get