I need to convert a bunch of dates in a MySQL database from Pacific time (America/Los_Angeles) to UTC. I found a great SO answer on how to do this.
During my tests and preparation, I'm finding that I'm getting the same time conversions when using any of the following time zone names:
- America/Los_Angeles
- US/Pacific
- PST8PDT
So my questions are the following:
- Are these all just aliases to the same thing? Or are there actual differences between them at some point in time?
- If I want to provide a list of timezones to users on a website, would it be better to give them selections from the
America
group of names, or the US
group of names?
question from:
https://stackoverflow.com/questions/4309030/difference-between-timezones-america-los-angeles-and-us-pacific-and-pst8pdt 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…