I'm working on a web app that displays local bus schedules for Washington, DC. I want to show information based on the current time. The schedules are in local time (Eastern Daylight, GMT-4), but the system time is always GMT, since it's coming from the proxy server.
Is there a way of reading the local device time or timezone so that I can correct the system time? Without that feature, I will need to hard-code the time zone offset, including summer time corrections, and that will be ugly