开发者

What timezone does MySQL TIMESTAMP columns use ON UPDATE?

Does it use the server timezone or UNIX_TIMESTAMP (UTC) ?

And how do I get the current time in PHP, in the same timezone as MySQL's 开发者_运维技巧TIMESTAMP columns?


Depends on your MySQL configuration variables, see MySQL Server Time Zone Support.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜