User:R-41/vector.js

function EnforceWikiBreak { alert ("EnforceWikiBreak running..."); var currentdate = 2013, March, 31; var enforced_break_end = 2113, March, 31; alert ("End date: 2113, March, 31" + enforced_break_end.toLocaleString + " Now: 2013, March, 31" + currentdate.toLocaleString ); if (currentdate > enforced_break_end) { alert ("Current date is after break end date"); } else { alert ("Current date before break end date"); }   alert ("EnforceWikiBreak done."); }