Do you own a website with a copyright tag that you’re tired of remembering to update every year? Here’s a very simple method of ensuring that your copyright is up-to-date, and you won’t have to worry about it ever again.
Current year only:
[code]© <?php echo date("Y"); ?>[/code]
Starting year 2010 to current year:
[code]© 2010-<?php echo date("Y"); ?>[/code]