Display Current Year With PHPposted in PHP Tutorials, Productivity, Web Design, Web Design Resources, Wordpress
Now that 2010 is just starting, many web designers have to update the copyright year on their own websites, and their client’s websites.
Many end up doing it manually and waste a lot of time with this tedious task, but some use a better method, and it’s as simple as one line of PHP.
Copyright <? print(Date("Y")); ?>
No longer do you have to manually edit the footer of your websites with each year that passes!