Home >php教程 >php手册 >mysql时区问题

mysql时区问题

WBOY
WBOYOriginal
2016-06-13 12:30:181290browse

用convert_tz转换时区,你可以用   
  show   variables   like   'time_zone';   
  得到时区,如果返回的是"system"的话,你可以用   
  show   variables   like   'system_time_zone';   
  得到结果。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn