title: Laravel check if date is between 2 dates.
body: <p>I want to check if today's date is between to dates dat are stored in the
  database. Right now I do this with laravel eloquent:</p>
  
  <pre><code> return Set::where('type', $type)
              -&gt;where('active_from', '&lt;=', date("Y-m-d"))
              -&gt;where('active_until', '&gt;=', date("Y-m-d"))
              -&gt;first();
  </code></pre>
  
  <p>Is this correct?</p>