$years = 15; $months = 1; $days = 10; $birthdate = mktime(0, 0, 0, date("n") - $months, date("j") - $days, date("Y") - $years); echo date('d.m.Y', $birthdate);