title: Forcing page refresh at a specific time with timezone
body: <p>I'm trying to force a page to refresh with js at a specific time, after digging around I found the script below.  However, it doesn't appear to take into consideration timezones.  How would I implement that?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
  function refreshAt(hours, minutes, seconds) {
      var now = new Date();
      var then = new Date();
  
      if(now.getHours() &gt; hours ||
         (now.getHours() == hours &amp;&amp; now.getMinutes() &gt; minutes) ||
          now.getHours() == hours &amp;&amp; now.getMinutes() == minutes &amp;&amp; now.getSeconds() &gt;= seconds) {
          then.setDate(now.getDate() + 1);
      }
      then.setHours(hours);
      then.setMinutes(minutes);
      then.setSeconds(seconds);
  
      var timeout = (then.getTime() - now.getTime());
      setTimeout(function() { window.location.reload(true); }, timeout);
  }
  
  refreshAt(15,06,0); //Will refresh the page at 3:06pm
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onLoad="setInterval('getCurrentTime()', 1000);"&gt;
  &lt;div id="time"&gt;&lt;/div&gt;
  content
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>