Never forget to update your website's copyright year again! Place the following snippet of code where you'd like the current year to appear:
<script>document.write(new Date().getFullYear())</script>
<footer>© 2005-<script>document.write(new Date().getFullYear())</script>. All rights reserved.</footer>
Would generate the following HTML:
Enjoyed what you saw? Stay updated by following me.