DisplayTimer adds a clock displaying UTC time to the header on MonoBook and to the bottom toolbar on Oasis. This is helpful in figuring out how long ago comments were posted on talk pages and forums since the user's signature shows the time in UTC when it was posted.
Bonus features: Clicking the clock will purge the current page, and holding 'Shift' key while clicking the clock will null edit the current page (using code from NullEditButton).
This is an alternative to the UTCClock script. It is simpler and lacks any customisation options.
For personal use, add the code snippet below to your global.js page (for use on all wikis) or your common.js page on your wiki (for use on a single wiki). Note that personal JS must be enabled for your account.
Note: In this example, pay close attention to the placement of commas and other punctuation. For people who aren't familiar with programming (and even those who are!), a common mistake when writing code is to accidentally delete, forget, or misplace critical symbols like commas or quotation marks. This can cause a syntax error that breaks the code. Carefully follow the convention shown here when using importArticles.