Php: PHP time zone settings. Question: PHP time zone settings date_default_timezone_set (EtcGMT-8) why represents the GMT zone answer: www.2cto. comdate_default_timezone_set (EtcGMT); is Greenwich mean standard time, get question:
PHP time zone setting date_default_timezone_set (Etc/GMT-8) why does it represent UTC + 8
Answer: www.2cto.com
Date_default_timezone_set ("Etc/GMT"); is the Greenwich mean time. the obtained time is the same as the default time zone.
Ate_default_timezone_set ("Etc/GMT + 8"); 8 hours slower than the standard time of Linwei,
Date_default_timezone_set ("Etc/GMT-8"); UTC + 8, we get 8 hours earlier than that.
Or use: date_default_timezone_set ('prc'); set China time zone
Http://www.bkjia.com/PHPjc/477791.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/477791.htmlTechArticlequestion: PHP time zone settings date_default_timezone_set (Etc/GMT-8) why represents the GMT zone answer: www.2cto.com date_default_timezone_set (Etc/GMT); is Greenwich mean standard time, get...