$year = 1945; //год создания сайта $month = 12; //месяц $days = 9; //день $seconds = time() - mktime(0, 0, 0, $month, $days, $year); $d = 60*60*24*365.4; $year = (int)($seconds/$d); $seconds = $seconds - $year*$d; $d = 60*60*24*30.4; $month = (int)($seconds/$d); $seconds = $seconds - $month*$d; $d = 60*60*24; $day = (int)($seconds/$d); $week = (int)($day/7); $day = $day - $week*7; echo "$year л., $month м., $week н. и $day дн.";