34,333
edits
Changes
→Finding the Time Zone Offset and Getting Local Time
</pre>
If the visitor to your web site used Eastern Standard Time them then the above would report the time offset as 240 minutes. You can, ofcourse, convert this to hours simply by dividing by 60. The following displays the time offiset as 4 hours:
<pre>