title: SQL select true if date comparison
body: <p>Is it possible to return a boolean value as a select field if a date is less than a certain time?</p>
  
  <p>For example, something like:</p>
  
  <pre><code>SELECT true IF (mydate &lt; NOW())
  </code></pre>
  
  <p>or something like that?</p>