//year, month 0-11, date, hour, min (can add ,sec,msec) var eta_ms = new Date(2015, 0, 21, 17, 0).getTime() - Date.now(); var timeout = setTimeout(function(){}, eta_ms);