时区相关

http://bjtime.cn/info/view.asp?id=223
http://blog.itpub.net/25264937/viewspace-692977/
http://blog.csdn.net/longyulu/article/details/8996122
http://blog.sina.com.cn/s/blog_68f4b9f201013vql.htmlstr_to_date date_format


1)将不同时区的服务器的数据库的时区都设置为UTC +0:00 时区的好处,可以让date_to_str的数据迁入文件后,移动文件到另一个时区,再导入另一个时区的数据库(因为不同数据库的时区都已经设置一样),所以导入后timestamp一致。

猜你喜欢

转载自jackleechina.iteye.com/blog/2282329