Question: how to subtract 1 year from current date in php?
Answer: Using DateTime to subtract years from a given date. $dt = new DateTime('2016-02-29'); //Subtract one year. $minusOneYearDT = $dt->sub(new DateInterval('P1Y')); //Get it in a YYYY-MM-DD format.