Dynamic copyright
Freshness Warning
This blog post is over 17 years old. It's possible that the information you read below isn't current and the links no longer work.
1 Jan 2007
Brad Feld wants to know if you’ve updated your copyright dates and suggests you put them in an include for update-once ease.
Most sites I’ve built take this a step further—the dates are dynamic. Copyright dates are often a range, and of course the first date doesn’t change. But the last date is always current with a dynamic copyright.
In Movable Type, you can use this...
© 1996 - <MTDate format="%Y">
In PHP...
echo '© 1996 - ' . date('Y');
And in Smarty...
© 1996 - {$smarty.now|date_format:"%Y"}