php : Automatically updating Year in Copyright information for a website

Another year gone and it is time to change the copyright information. Here is a quick tip on updating the year automatically. Edit the footer.php or similar file which prints that Copyright information and add to it following php code. Here 2009 is the start year. See the bottom of this page for how this looks like.

2009 - <?php echo date('Y'); ?>