1 2 3 4 5 6 7 8 9 10
<?php $year = date('Y') - 1; $month = date('n'); if($month > 8) $year++; echo $year; ?>
1
2010