开发者

What timezone does MySQL TIMESTAMP columns use ON UPDATE?

开发者 https://www.devze.com 2022-12-19 03:29 出处:网络
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 configurati

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

精彩评论

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