спасибо , вот что получилось
<?php
_date(date('Y-m-d'),'10','-');
function _date($date,$count_days,$type){
// $date = strtotime($date);
echo $date;echo "<br>";
$result_date = date('j-n-Y', strtotime('+0 year', strtotime($type.$count_days.' days.', strtotime($date))));
}
?>