Is society we use time zones, but for some reason php uses a long list of major cities for it's timezone settings. Often I do work on websites in various regions of the world and it's not easy to figure out which timezone setting is correct.
For instance, you're working on a site in Albstadt, Germany. You do a google search and find that Albstadt is GMT+1. You then go to the php documentation pages and find this: http://php.net/manual/en/timezones.europe.php
Ok, there's a list of major cities in Europe. Not very helpful. And no, even though the page is titled "List of Supported Timezones" they are in fact not "timezones". Unless you happen to know which of those cities is GMT+1, it seems you're a bit stuck doing trial and error until you get a hit. Seems like there should be a setting in php like:
date.timezone = 'GMT+1'
but there isn't. Hence my question: How can I easily determine the correct date.timezone
setting for a given locality?
(note: I am aware of this Q&A: List of US Time Zones for PHP to use?, but I'm not looking for a list, nor do I consider "here is a list I found" a reliable method for determining the correct setting)