Dynamic startyear / copyright for footer
echo's:
2008 / 10 - Company name
Copy this code and paste it in your HTML
©
<?php ini_set('date.timezone', 'Europe/Amsterdam');$startYear = 2008;
if ($startYear == $thisYear)
{
echo $startYear;
}
else
{
echo "{$startYear} / {$thisYear}";
}
?> - Company name
Report this snippet
Comments
Subscribe to comments