Who working for website, blog or web related applications, they will face this question at last. Why Last? Because, Footer is coming at last of the page 🙂 . Anyway, come on we will solve this problem. First simple solution,
<?php echo date("Y"); ?>
or
<?= date("Y") ?>
Use © <?php echo date("Y") ?> Copyright - All rights reserved.
for
© 2015 Copyright – All rights reserved.