var tz = new Date().getTimezoneOffset();
Gives you timezone.
How would I get local time?
This topic is now closed. New replies are no longer allowed.