testtime

Automatic time zone detection using JavaScript

This script is open source and hosted as jsTimezoneDetect @ Bitbucket.

var timezone = jstz.determine_timezone(); // Now you have an instance of the TimeZone object. alert(timezone.offset()); // Offset in hours and minutes from UTC. alert(timezone.name()); // Olson database timezone key (ex: Europe/Berlin) alert(timezone.dst()); // bool for whether the tz uses daylight saving time

This is a paragraph.

Display Date