Keep your Footer up to date without Updating it Every Year
31 December 2014
It’s the last few days of December. The year is soon coming to an end. If you are a webmaster and if you have the current year displayed on your footer, one of your worries would be updating your website’s footer every year so that the site shows the current year as soon as the 31st December strikes 12:00 AM.
© <script>new Date().getFullYear()>2010&&document.write(new Date().getFullYear());</script> Your website name.
© <?php echo date('Y'); ?> Your website name.