Inserting the current year with PHP

If you need to have the current year always up-to-date on your webpage, this little bit of PHP code will do it for you.
Code:
<?php
echo date('Y');
?>
I use this in the footer of most of my websites like this
Code:
Content copyright 2002-<?php echo date('Y'); ?>
Logged


I am just bumping this post up since the new year is approaching and we all probably need to update our website's copyright date if we didn't do so when Ryan first posted this.
Logged


Saw this tip on another site and one of the comments brought up a good point.  By doing this you're making a PHP call on every page view for something that should take about 30 seconds one time a year.  That call isn't very intensive, but it is sort of unnecessary if you're trying to squeeze every last bit of speed out of your page loads. 
Logged


lol, well it's good I haven't bothered to actually figure this out yet, I manually changed all my pages to 2011 at the end of December.
Logged