Date - Time in Sidebar (1 post)

  1. AUSR
    Posted 9 years ago #

    I'm trying to insert the following code into a text widget for the sidebar, but it does not appear. Is there a plugin or widget available that will show the date and time in this fashion in the sidebar?

    Tuesday, April 17, 2007 | 07:25 PM

    <script type="text/javascript" language="JavaScript">
    var calendarDate = getCalendarDate();
    var clockTime = getClockTime();
    document.write(' ' + calendarDate);
    document.write(' | ');
    document.write(' ' + clockTime);

Topic Closed

This topic has been closed to new replies.

About this Topic