I have the following date function:

```
function fixDate($strDateTime) {
 $strFormat = 'M, j, Y';
    $strFormatTime = '\a\t g:ia';
    $intTimeStamp = strtotime($strDateTime);
    $strDate = date($strFormat, $intTimeStamp);
    $strTime = date($strFormatTime, $intTimeStamp);

    if($strDate == date($strFormat)) {
        return "Today " . $strTime;
    }
    elseif($strDate == date($strFormat, strtotime('yesterday'))) {
        return "Yesterday " . $strTime;
    }
    else {
        return " on " . $strDate . " " . $strTime;
    }
}

```

I'm not sure if it is my date function that is causing this or the way my database is structured, but the date on my pages is reading AM when it is supposed to be PM. It is also reading US - Central time, when I need it to be US - Eastern time. I have the dates stored in phpmyadmin as the Date category.

How can I change the date so that is reads as US - Eastern time?