I have a date format like this 'Tue May 01 00:00:00 +1000 2012' (from array data on json file)
when I use date() function it returning April, :D
echo date('F Y', strtotime('Tue May 01 00:00:00 +1000 2012'));
//it returning "April 2012"
Any ideas how to fix this?
Many Thanks!
+1000to get the result you want, but I 'm not sure if that's fixing or breaking it.