echo "Aktualizováno ".lastUpdatedTrick(2, "d.m.Y")."";
// visit http://www.php.net/manual/en/function.date.php
//$daysFromToday are the days you want your last site update be from
//$outputFormat is the output format - make sure you use "YOUR_VALUE" and not just YOUR_VALUE
function lastUpdatedTrick($daysFromToday,$outputFormat) {
$days = date("d") - $daysFromToday;
return date ($outputFormat, mktime (0,0,0,date("m"),$days,date("Y")));
}
?>
Design by K+D SVOBODA
|