[Solved] Exactly parse string to datetime format [closed]
here is what would help you: date(‘Y-m-d H:i:s’, strtotime(‘Mon, 7 Apr 2014 13:46:23 +0300′)); for setting to date format refer to PHP’s Date function solved Exactly parse string to datetime format [closed]