For the record: I've updated the web site clock to log Eastern Standard Time instead of Mountain Standard Time (as it has been ever since the beginning of this site.)

Your System Time


For interested GeekLoggers:
I added the following code to my siteconfig.php file (after the "$_CONF['default_charset']" LINE:

$_CONF['timezone'] = 'US/Eastern';

Time displayed above using the Javascript shown below:
(which I assume is showing your system's time.)

<script type="text/javascript">
    var currentTime = new Date()
    var hours = currentTime.getHours()
    var minutes = currentTime.getMinutes()

    if (minutes < 10)
    minutes = "0" + minutes

    document.write("<b>" + hours + ":" + minutes + " " + "</b>")


Code Source:

Comments (0)