开发者

MySQL time stamp issue

开发者 https://www.devze.com 2023-02-01 13:22 出处:网络
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

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

精彩评论

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

关注公众号