I encountered with this question today on StackOverflow but didn't get answer.
My question is
echo date('Y-m-d',strtotime('2012-september-09')); // output - 2012-09-01
echo date('Y-m-d',strtotime('09-september-2012')); // output - 2012-09-09
I am confused that why the first format don't produce correct answer. Any Help?