Return to Snippet

Revision: 12098
at March 2, 2009 09:38 by 1man

Initial Code
<li class="last">&copy; <?php
						ini_set('date.timezone', 'Europe/London');
						$thisYear = date('Y');
						echo $thisYear	
						?> Company Name Ltd. All rights reserved

Initial URL

Initial Description
Very simple snippet to include if you want to auto update the year in a page copyright using PHP.

Initial Title
Auto Update Copyright Year

Initial Tags
php, update

Initial Language