xxxxxxxxxx
// get current year using php
<?php echo date("Y"); ?>
xxxxxxxxxx
// current year
<?php echo date("Y"); ?>
// current month
<?php echo date("m"); ?>
// current day
<?php echo date("d"); ?>
xxxxxxxxxx
$today = date('Y-m-d');
$nextYear = date('Y', strtotime('+1 year', strtotime($today)) );