Answers for "set function to execute at certain time js"

0

set function to execute at certain time js

//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);
Posted by: Guest on September-01-2021

Code answers related to "set function to execute at certain time js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language