Return to Snippet

Revision: 53684
at December 1, 2011 02:54 by exo20811


Initial Code
<script language="JavaScript">
var d = new Date(); 
var curr_year = d.getFullYear();
</script>


<script language="Javascript">document.write(curr_year);</script>

Initial URL

                                

Initial Description
Place anywhere on page where the full year is needed.

Initial Title
Display Current Year

Initial Tags

                                

Initial Language
JavaScript