开发者

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'));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜