How am I able to get the value of the previous year using PHP. Are there any predefined functions for it?
try
echo date("Y",strtotime("-1 year"));