Am I using the PluginJS correctly?
Wiki version = 6.1
I am trying to display the Julian day on a Wiki page. I typed in the following Javascript code into a Wiki page, but nothing displays. Am I using the javascript plugin correctly?
Copy to clipboard
{JS()} var today = new Date(); var julday = math.Floor((today.valueOf() / (1000 * 60 * 60 * 24)) - 0.5) + 2440588; document.write(julday); {JS}