jstimezonedetect

This script gives you the zone info key representing your device's time zone setting. The return value is an IANA zone info key (aka the Olson time zone database).

timetimezonetzdate

http://pellepim.bitbucket.org/jstz/