I\'ve got a date in this format:
2009-01-01
How do I return the same date but 1 year earlier?
an easiest way which i used and worked well
date('Y-m-d', strtotime('-1 year'));
this worked perfect.. hope this will help someone else too.. :)