$day = substr($normalDate, 0 , -8);
if(preg_match(".", $day)) {
$day = substr($day, 0 ,1);
}
$month = substr($normalDate, 3, -5);
if (preg_match(".", $month)) {
$month = substr($month, 0, 1);
}
$year = substr($normalDate, 6);
if (preg_match(".", $year)) {
$year = substr($year, 0, 1);
}