Don’t forget to reset the offset for those using this in a daylight savings area…
Here is current version of code:
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Modified by Tom Chaplin to make this a local time clock -->
<!-- Begin
function clock() {
var digital = new Date();
var hours = digital.getUTCHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var offset = 6 ; <!-- Offset value is 5 for CDT and 6 for CST -->
if (hours < offset)