In preparation for the new year, this is a simple but useful PHP snippet for keeping your copyright notice up to date on your blog or Web site.
<?php echo 'Copyright © 2006 – ' . date("Y"); ?>
That will output Copyright © 2006 – 2007, with the “2007″ dynamically updating to the current year.
The HTML entity – just means a dash. You could also do just:
Copyright © <?php echo date("Y"); ?>
…which would output Copyright © 2007 (with the date always being the current year).
It works on WordPress blogs also — just insert the code snippet in footer.php.

2 Comments
I recommend that a date-last-modified bit be added for those of us pour souls who do web research a lot. Just remember to put this code on the actual content page, not include files that exist on every page, etc.
Comment field swallowed my code… here ya go with slight mods: