Always Current Copyright Code Snippet

An always up-to-date year in the copyright footer of a website.

Many years ago I got tired of out-of-date copyright notices on websites. So I created a code snippet to always keep that notice up to date.

And now I got tired of trying to track down which sites I used it on, so here it is as a snippet to copy & paste.

JavaScript

&copy;<script>document.write(new Date().getFullYear())</script> Bryson Hotopp. All Rights Reserved.

PHP

&copy;<?php echo date("Y"); ?> Bryson Hotopp. All Rights Reserved.

Have you come up with a better way to do this? Let me know!