Get Full year from current date : getFullYear : Date JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Date » getFullYear »

 

Get Full year from current date

















<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
dateVar = new Date();
alert(dateVar.getFullYear());
//  -->
</script>
</head>
<body>

</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Date
» getFullYear