So you want to put a bit of code on your website which automatically displays the year in PHP, how do you do it?
<?php echo date(“Y”); ?>
You could also use the following to place a © copyright sign in front of the date.
© <?php echo date(“Y”); ?>
Its handy to put a date on your website to show users and potentially search engines its up to date or has been updated or to show an up to date copyright symbol.
Hope this helps you.