function parseDate($d) { $dateArray=explode('-',$d); return date('M j, Y', mktime(0, 0, 0, $dateArray[1], $dateArray[2], $dateArray[0])); } ?>