MediaWiki:Common.js: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 34: Line 34:


var to_modify = document.getElementById('map_age')
var to_modify = document.getElementById('map_age')
to_modify.innerHTML = "The current map, Map 11, is " + (diff.getYear() - 70) + " year(s), " + (diff.getMonth() + 1) + " month(s), " + diff.getDate() + " day(s), " + diff.getHours() + " hour(s), " + diff.getMinutes() + " minute(s), " + diff.getSeconds() + " second(s)."
to_modify.innerHTML = "The current map, Map 11, is " + (diff.getYear() - 70) + " year(s), " + diff.getMonth() + " month(s), " + diff.getDate() + " day(s), " + diff.getHours() + " hour(s), " + diff.getMinutes() + " minute(s), " + diff.getSeconds() + " second(s)."
};
};
get_time_difference_from_current(1628798400000)
get_time_difference_from_current(1628798400000)