Menu
How to set a function to activate on a specific date at a specific time? eg
June 21 19:36
var d = new Date();
var h = d.getHours();
var m = d.getMinutes();
Brain gone to mud…something like
function showEl() {
if (d == 21 June && h == 19 && m == 36) { $(‘#el’).fadeIn(1200) };
}
don’t understand how to format the date…
Cheers.