/ Published in: PHP
this will add the copyright circle thingy, the founded date (year) and the current year (updated automatic-like) for the footer of your site.
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.

Thats pretty lame ... better would be something like:
function year ($startyear) { if ( date('Y') == $startyear ) { return $startyear; } else { return $startyear . ' - ' . date('Y'); } }