Home  >  Article  >  Backend Development  >  mysql time zone problem_PHP tutorial

mysql time zone problem_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:53:45863browse

Use convert_tz to convert the time zone. You can use
show variables like 'time_zone';
to get the time zone. If "system" is returned, you can use
show variables like 'system_time_zone';
to get it. result.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318620.htmlTechArticleUse convert_tz to convert the time zone, you can use showvariableslike'time_zone'; to get the time zone, if "system" is returned , you can use showvariableslike'system_time_zone'; to get the result...
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