Format datetime string

Viewed 12835

I need my string "Wed, 26 May 2017 14:00:00 +0800" to be in format 2017-05-26 14:00:00 +0800 (it's ok to keep it as a string but not mandatory). What's the quickest way?

3 Answers
Related