I need to convert year(YY) to YYYY. Here i am try to use date
function in PHP but not getting the expected result.
$expiry_year = "30"; //year=2030
echo date('Y',strtotime($expiry_year)); //Result: 1970
echo date('Y',$expiry_year); //Result: 1970
Expected Result: 2030
Thanks To All!