How to output display current year using javascript

duane's picture

The following Javascript code will output the current year. I frequently use this code in the footer of web sites to keep the copyright year current.

Tags: