I have some date data that is in this form "August, 14 2008" and I want to convert the word "August" along with the rest of the date to numerals so that I can use the time functions etc. I realize that I can do this by a short bit of code where I match the month and assign a numeric value, but I was wondering if there was any php function that I'm missing that does this for me?
<?php $date = date_create('August, 14 2008'); echo $date->format('m/d/Y'); // Output: 08/14/2008 PHP: