1 2 3 4 5 6
<? $year = date('Y'); $nextYear = $year + 1; echo 'This year: ' . $year. ' Next year:' .$nextYear;
1
This year: 2009 Next year:2010