This was working fine yesterday with no changes to the code.
echo date("M", strtotime("-3 month", time()) );
echo date("M", strtotime("-2 month", time()) );
echo date("M", strtotime("-1 month", time()) );
echo date("M", time());
The output it was producing yesterday was as you would expect- i.e. Apr, May, Jun, Jul
Today it echoes May May Jul Jul
Any ideas?
Thanks in advance.