I've been tearing my hair out to try to get this to work -- I've got a date in the following format:
05 August, 2003
I want to format it so that it is like 2003-08-05. I figured I'd just convert it into a timestamp using strtotime() and then use date() to format it into the output I want. But the problem is this: strtotime() does not recognize "05 August, 2003" as a valid date format -- when I try to format anything in that format, it gives me a "-1".
I'm running out of ideas. Help?