/ Published in: JavaScript
                    
                                        
Place anywhere on page where the full year is needed.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<script language="JavaScript">
var d = new Date();
var curr_year = d.getFullYear();
</script>
<script language="Javascript">document.write(curr_year);</script>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                