阅读背景:

如何在PHP/MySQL中增加4小时的时间

来源:互联网 

I'm working on a blog migration from a custom built blog to Wordpress. One of the fields that Wordpress is looking for in the database is a date/time stamp set to GMT, which is 4 hours ahead of our time. So I basically need to take our date/time stamp (in YYYY-MM-DD HH:MM:SS format), and add four hours to it. I was looking at the MySQL command "ADDTIME", but I think that only works on selects, not on inserts. I'm working on a blog migration from a custom b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: