User blog comment:Caesar213/Adding a clock on the wiki/@comment-3389940-20131014010129/@comment-5558012-20131014012905

You need to create the actual clock. Here's a basic one:

Only  January 1 2014 00:00:00 EST  until New Years! This message will be displayed if the timer does not show up (like if the clock is loading or you do not have javascript enabled on your browser).

Place this on Template:Countdown Clock. Then you can add the clock to a page by using.

Also, removed this from MediaWiki:Common.js:

// ============================================================ // displayTimer // ============================================================ var refreshDate; function addDate { var CDTDate = ((new Date).toUTCString).replace("GMT", "(UTC)"); $('#showdate').empty.append(' ' + CDTDate.substring(5) + ' '); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 1000); } $(document).ready(function {   if (skin == 'oasis')         $(' ').appendTo('#GlobalNavigation');    else        $('#p-personal ul').prepend(' ');    addDate;    refreshDate = window.setTimeout(addDate, 1000);    $('#displayTimer').css({'font-size': "12px"}); }); //