Automatically Update Your Copyright Notice Date

Every year some lonely web folks are wasting time updating the copyright dates on their various websites footers. Since we have jumped head first into 2012 lets start the year off right. The following will show you how to use PHP to automatically update your notice.

Display Current Year
[php] <?php echo date(‘Y’); ?>
[/php]

Add Your Copyright Text
[php]Copyright &copy; <?php echo date(‘Y’); ?> Website Name[/php]

I’m sure you will be able to find other areas of your website that could benefit from magical PHP date functions. Take a few minutes now to save yourself from wasted ‘time’ later.

Happy New Year