1 2 3 4 5 6 7 8 9
<?php if(date('m') >= 06) { $d = date('Y-m-d', strtotime('+1 years')); echo date('Y') .'-'.date('y', strtotime($d)); } else { $d = date('Y-m-d', strtotime('-1 years')); echo date('Y', strtotime($d)).'-'.date('y'); } ?>
1
2015-16