阅读背景:

使用PHP和MySQL处理时间戳(我的理论是否正确?)

来源:互联网 

I've been researching timestamps in PHP & MySQL. My undertanding is that UNIX timestamps only exist in GMT ... the whole point being that you convert it into the users timezone (GMT +/- timezone = users localtime). I'm doing this successfuly by saving the timestamp in it's "raw" form (as a 10 digit long int) and converting it into localtime in the query I've been researching timestamps in PHP & MySQL




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

分享到: