NOTICE

The lore articles on the wiki are currently being rewritten in some capacity. If you wish for the most updated information, or knowledge on a specific article, the best place to reach out is in #sim-lore-general on Discord.

MediaWiki:Common.js

From New Frontiers Wiki
Revision as of 08:42, 25 September 2021 by Awanken (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */
$ (function () {
    var currentDate = new Date()
    var cICYear = currentDate.getFullYear() + 800
    var cICMonth = currentDate.getMonth() + 1
    var cICDay = currentDate.getDay()
    $('#currentICDate').append(cICYear + '/' + cICMonth + '/' + cICDay)
});

$ (function () {
    var currentDate = new Date()
    var cICYear = currentDate.getFullYear() + 800
    $('#currentICYear').append(cICYear)
});