I researched a little and found a way to do it.
You'll use two functions: date and mktime.
Date returns the date based on given variables. Your given variables will be the date you want converted. Look at this code:
echo date("M-d-Y", mktime(0, 0, 0, 1, 6, 2005));
The first part of the date function, "M-d-Y" displays your date in a specific format ([a href=\"http://www.php.net/manual/en/function.date.php\" target=\"_blank\"]see this page for different formats[/a]). The mktime converts 06 (the sixth) of 01 (january) of 2005 (year). Simply have your date put in those spaces to be formatted, like so:
echo date("M-d-Y", mktime(0, 0, 0, $yourmonth, $yourday, $youryear));
Hope this helps.
-Seth