Given a time, how can I find the time one month ago.
format("d-m-Y H:i:s").''; date_sub($date, new DateInterval("P1M")); echo ''.$date->format("d-m-Y").' : 1 Month'; ?>