This worked fine yesterday, with no code changes.
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 he made yesterday was what you would expect - a.u., May, June, July
Today it repeats May May July July
Any ideas?
Thanks in advance.
php strtotime
bcmcfc Jul 31 '09 at 10:31 2009-07-31 10:31
source share