Date Server: Any time zone

Copy the following html code to your page:

<script>
<!--
var curDateTime = new Date();
var tOffset = -curDateTime.getTimezoneOffset();
document.write("<ifr"+"ame src =\"https://calendarhome.com/cgi-bin/hdate2.pl?zoneadj=\"NUMBER\" style=\"border:1px #000000 solid;\" height=23 width=357 scrolling=no marginheight=0 marginwidth=0 frameborder=0></iframe>");
//-->
</script>
<noscript>
<iframe src ="https://calendarhome.com/cgi-bin/hdate2.pl?zoneadj=NUMBER" style="border:1px #000000 solid;" height=23 width=357 scrolling=no marginheight=0 marginwidth=0 frameborder=0>
</iframe>
</noscript>



For the code to work, you should replace the word NUMBER with the number of minutes your area is offset from Greenwich Mean Time. For example, if your time is one hour before Greenwich Mean Time, then replace the word NUMBER with -60. If your time is two hours after Greenwich Mean Time, then replace the word NUMBER with 120. The NUMBER will only be used if the visitor to your page doesn't have javascript, which is uncommon. With those that have javascript, the time zone offset will be calculated automatically when the page loads.

Return to Main Date Server Page