PHP Convert From UTC to Local Datetime format
<p>Need a little help.
I'm using PHP.
Here is a example date:
Mon Sep 05 2016 15:30:00 GMT+0800 (China Standard Time)</p>

<p>What i want is display a outpout like this:
2016-09-05 15:30:00</p>

<p>I've tried to convert it using this function:
    date('Y-m-d h:i:s', strtotime($time));</p>

<p>But the output is:
1970-01-01 08:00:00</p>

<p>Need some advice
Thanks.</p>