ITT #2: Automate Your Copyright Years
If you've built blogs for clients before, or created a site based on a content management system, then
you know keeping copyright information up-to-date can be a pain.
It used to be that every year, I'd have to pull up every single client's
site and edit the year, which would eat up a full day of my
time. It was a terrible way to start the new year, and after a
couple years of tedium, I decided to deal with it once and for all.
View the Demo | Download Source
Automatically Update the Year
My first instinct was to simply use PHP's handy date() and time() functions
to automatically find the year. To get the current year,
you can use this snippet of code:
<?php echo...
read more
- «
-
- 1
-
- »