I have a date stored in MySQL as 2012-11-00 and I am trying to convert it so I can format it properly on a PHP page. When I use the following I always end up getting one month behind. So if the date in MySQL is 2012-11-00 then the result from PHP is Oct 2012.
date("M Y", strtotime($resVal['dateField']))
Any thoughts as to why it does this?