MySQL time stamp issue
I have a time-stamp, which is returned from PayPal as
2010-12-29T20:42:49.929-08:00
Now I need to convert it to MySQ开发者_运维问答L DateTime format, using PHP
Anyone is having solution, how to convert it?
Thanks.
date('Y-m-d H:i:s', strtotime('2010-12-29T20:42:49.929-08:00'));
精彩评论