Examples of the translations I need to do:
$stringDate = "November 2009"; $output = "11/09";
$stringDate = "October 1 2010"; $output = "10/01/2010";
$stringDate = "January 2010"; $output = "01/10";
$stringDate = "January 9 2010"; $output = "01/09/2010";
Note that I do not know which format the $stringDate will be in and the lack of commas in the month day year set.
Thanks for any help anyone might offer.
PHP.net strtotime
First convert it to UNIX timestamp using strtotime, then to your own format using date() function.