$today =date('Y-m-d');
$expiryDate=date('Y-m-d H:i:s', strtotime('+1 year', strtotime($today)) );
//variable date
$date = "2022-02-01";
$newDate = date('Y-m-d', strtotime($date. ' + 3 years'));
//curent date
$newDate = date('Y-m-d', strtotime(' + 3 years'));
date('Y')
echo date('Y', $date);