Automatically Change the Year on a Copyright Footer

Copy and paste the javascript to automatically update the year on a website:

© <script type="text/JavaScript">document.write(new Date().getFullYear())</script> Add Website Name

Note: Make sure the javascript is wrapped in the proper element to avoid breaking your page! Here’s the result:

© Add Website Name