title: Script to run function at specific time with milliseconds
body: <p>I have that code at below, how can I run it at 21:36:00:500 (500 is milliseconds) ?</p>
  
  <pre><code>var now = new Date();
  
  var millisTill1 = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 23, 45, 30, 500) - now;
  if (millisTill1 &lt; 0) {
       millisTill1 += 86400000;
  }
  setTimeout(function() {
    check()
  }, millisTill1);
  </code></pre>