how to add 1 year to date in php code example Example: add a year php $end = date('Y-m-d', strtotime('+5 years'));