<!-- INTERNET TIME --> <!-- This part can go in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2002, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- function internetTime() { now = new Date(); hour = now.getHours() * 60; min = now.getMinutes(); sec = now.getSeconds() / 60; bmt = (now.getTimezoneOffset() + 60); // Biel MeanTime (BMT) is the universal // reference for Internet Time. total = ((hour + min + sec + bmt) * (1000 / 1440)); intTime = Math.floor(total); if (intTime < 0) { intTime = intTime + 1000; } if (intTime < 10) { intTime = "00" + intTime; } if (intTime < 100) { intTime = "0" + intTime; } document.form1.timer.value = "@" + intTime; setTimeout("internetTime()", 1000); } //--> </script> <!-- This part goes in the BODY of the html file --> <body> <form name="form1"> <input type="text" name="timer" size="6" /> <input type="button" value="Get Time" onClick="internetTime();" /> </form>