How am I able to get the value of the previous year using PHP. Are there any predefined functions for it?
Try This
date('Y', strtotime('last year'));