<?php
$gun = getdate();
$zaman = $gun["yday"];
$kacincigun = "20";
$yil = "2007";
$hesapla = $zaman/7;
$x = explode(".",$hesapla);
if($hesapla>1){
$zamanim = $x[0]." hafta önce";
}else{
$zamanim = $zaman." Gün Önce";
}
echo ($gun[year] - $yil) ." Yil ".$zamanim."";
?>
