Auto Update Copyright Year
Very simple snippet to include if you want to auto update the year in a page copyright using PHP.
Copy this code and paste it in your HTML
<ul>
<li class="last">© <?php
ini_set('date.timezone', 'Europe/London'); echo $thisYear
?> Company Name Ltd. All rights reserved
</li>
</ul>
Report this snippet
Comments
Subscribe to comments