title: Enable Button during certain day & time
body: <p>I am trying to enable a button ONLY during 5PM to 10PM every day, except Monday.
  When the button is disabled, <code>&lt;p&gt;&lt;/p&gt;</code> should show up (like a notification to the visitor why it is disabled.)</p>
  
  <p>I did try to write the JavaScript on my own, but it seem not to work correctly. I don't know anything about that language and did the script with aid of different sites.</p>
  
  <p>Here is my script:</p>
  
  <pre><code>&lt;input class="submit" type="submit" id="checktimer" value="Check"/&gt;
  &lt;p id=timer style="display: none;"&gt;Lorem ipsum&lt;/p&gt;
  
      &lt;script type="text/javascript" defer="defer"&gt;
              &lt;!-- 
              var enableDisable = function(){
                  var UTC_hours = new Date().getUTCHours() +1;
                  var day = new Date().getDay();
                  if (day == 1){
                      document.getElementById('checktimer').disabled = true;
                      document.getElementById('timer').style.display = 'block';
                  }
                  else{
                  if (UTC_hours &gt; 16 &amp;&amp; UTC_hours &lt; 22){
                      document.getElementById('checktimer').disabled = false;
                      document.getElementById('timer').style.display = 'none';
                  }
                  else
                  {
                      document.getElementById('checktimer').disabled = true;
                      document.getElementById('timer').style.display = 'block';
                  }
                  }
              };
              setInterval(enableDisable, 1000*60);
              enableDisable();
              // --&gt;
              &lt;/script&gt;
  </code></pre>