I have a function to convert EDT to system time,
function edttogmt($date){
$date = str_replace('$','', $date);
$date = str_replace('EDT','', $date);
$date = date('Y-m-d H:i:s',strtotime($date));
return $date;
}
And my date is like $date = '$07/23/2015 12:38:23 PM EDT';
Is it possible to convert this to my server time.The above function creates wrong