title: On-Air Now Feature - ExpressionEngine
body: <p>EE  v2.5.3</p>
  
  <p>I'm trying to accomplish the following:</p>
  
  <ul>
  <li>6 Radio Shows (Mon-Fri)</li>
  <li>1 Radio Show (Sun)</li>
  <li>Default Setting (Logo)</li>
  </ul>
  
  <p>I'd like to be able to tell EE the following:</p>
  
  <pre><code>If Monday - Friday AND
  0600 - 1000 
  Morning Show
  
  else if
  
  1000 - 1500
  Midday Show
  
  etc etc..
  
  else if
  Sunday AND
  0600 - 1200
  Sunday Show
  
  else if 
  1700-1900
  Sunday Night Show
  
  else 
  Default display of Logo
  </code></pre>
  
  <p>My (non-working) Example:</p>
  
  <pre><code>&lt;div id="in_studio_now_content" class="container_4"&gt;
  
  {if
      '{current_time format="%l"}' == Thursday AND
      '{current_time format="%H%i"}' &gt;= '1000' AND
      '{current_time format="%H%i"}' &lt;= '1700'
  }
  
  &lt;div class="showContainer"&gt;
      &lt;img src="http://placehold.it/75x75" class="container_1" /&gt;
      &lt;div class="showInfo left"&gt;
          &lt;h5&gt;The Midday Show&lt;/h5&gt;
      &lt;p&gt;with Jenn&lt;/p&gt;
      &lt;p class="timeslot"&gt;Weekdays 10:00 - 3:00 pm&lt;/p&gt;
          &lt;div id="facebookLike"&gt;F like 32k&lt;/div&gt;
      &lt;/div&gt;
      &lt;a href="#" class="showLink container_3"&gt;More about this show &amp;rsaquo;&lt;/a&gt;
  &lt;/div&gt;&lt;!-- /show --&gt;
  
  {/if}
  
  &lt;/div&gt;&lt;!-- studio content --&gt;
  </code></pre>