title: Creating a bool array and setting value to true or false based on times
body: <p>I am fairly new to programming.</p>
  
  <p>I am trying to create a bool array based on 30 minute intervals within a day, therefore the size of the array will be 48 (24 hours * 2(30 min intervals)). All the values will be false to begin with, but based on Start Time and End Time, I want to set values to true.</p>
  
  <p>For example, </p>
  
  <p>StartTime : <code>02:00:00</code><br>
  EndTime: <code>04:00:00</code></p>
  
  <p>I want the boolean array to look like:<br></p>
  
  <pre><code>F, F, F, F, T, T, T, T, F, F ...
  </code></pre>