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.
精彩评论