MediaWiki: Tweeki.js: Difference between revisions
From Ensiklopedia
(Created page with "→Any JavaScript here will be loaded for users using the Tweeki skin: n = new Date(); y = n.getFullYear(); m = n.getMonth() + 1; d = n.getDate(); document.getElementById("date").innerHTML = m + "/" + d + "/" + y;") |
No edit summary |
||
Line 4: | Line 4: | ||
m = n.getMonth() + 1; | m = n.getMonth() + 1; | ||
d = n.getDate(); | d = n.getDate(); | ||
document. | document.querySelector("#date").innerHTML = m + "/" + d + "/" + y; |
Revision as of 15:29, 25 May 2023
/* Any JavaScript here will be loaded for users using the Tweeki skin */ n = new Date(); y = n.getFullYear(); m = n.getMonth() + 1; d = n.getDate(); document.querySelector("#date").innerHTML = m + "/" + d + "/" + y;