simple question, but cannot seem to find an answer
I need to set a timezone to UTC-8 and only UTC-8 (GMT-8 is actually the same). It cannot be a timezone with daylight time saving.
Now PHP does not seem to provide a way to set to GMT-8, when using Etc/GMT-8
I get the wrong time (I get an offset way earlier) like it says in the DOCS
Now I could use GMT+8 to achieve GMT-8 (sounds odd but i Quote:
Warning If you disregard the above warning, please also note that the IANA timezone database that provides PHP's timezone support uses POSIX style signs, which results in the Etc/GMT+n and Etc/GMT-n time zones being reversed from common usage. For example, the time zone 8 hours ahead of GMT that is used in China and Western Australia (among other places) is actually Etc/GMT-8 in this database, not Etc/GMT+8 as you would normally expect.
as there is no country in exactly UTC-8, i cannot put a country there...
so I use Etc/GMT+8 and cross the fingers they wont change it?