Resetting The BlogDogIt Clock
- Saturday, May 18 2013 @ 01:32 pm EDT
- Contributed by: masodo
- Views: 2,538

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>")
//-->
</script>
Code Source: http://www.quackit.com/javascript/tutorial/javascript_date_and_time.cfm