views:

13

answers:

0

In javascript I can get the offset from UTC & whether DST is used by the users timezone.

In MySQL I have a set of timezone tables.

I'd like to auto select a timezone for the user from the MySQL tables.

The mysql tables are not easy to understand (nor can I find schema documentation). I can't figure out how to go from a UTC offset + DST flag to find the relevant time zone in the mysql.time_zone_* tables.