I have this PHP code:
$end=date(\'Y-m-d\');
I use it to get the current date, and I need the date 5 years in the future, something like:
try this:
$yearnow= date("Y"); $yearnext=$yearnow+1; echo date("Y")."-".$yearnext;