question:
Why does PHP time zone setting date_default_timezone_set (Etc/GMT-8) represent the East Eighth District
answer: www.2cto.com
date_default_timezone_set("Etc/GMT"); It is Greenwich Mean Time, and the time obtained is the same as the default time zone
ate_default_timezone_set("Etc/GMT+8"); 8 hours behind Ringwich Standard Time,
date_default_timezone_set("Etc/GMT-8"); Dongba District, we are 8 hours ahead of that, so subtract 8
Or use: date_default_timezone_set('PRC'); to set China time zone
http://www.bkjia.com/PHPjc/477791.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477791.htmlTechArticlequestion: Why does PHP time zone setting date_default_timezone_set (Etc/GMT-8) represent the East Eighth District answer: www.2cto. com date_default_timezone_set(Etc/GMT); is Greenwich Mean Time, the result is...