title: SSRS date & time parameter based on time of day
body: <p>I'm trying to write an expression for the value parameter in Microsoft's SSRS but struggling. Basically we have a report that starts at 0800 and runs for 24hrs before it resets again the next 0800hrs the report is extracted at several times over the 24hr period.</p>
  
  <p>I think I understand the logic however I'm not verse enough to transfer that to code. Something like:</p>
  
  <pre><code>If today's time =&gt; 0800 Then
  Extract values from today's time 0800 onwards
  Else If today's time &lt; 0800 Then
  Extract values from today + yesterday after 0800
  </code></pre>