title: Convert eg. 2012-05-25 to seconds since January 1 1970
body: <p>I have a database where I save time as <code>time()</code> from php, which is seconds since <code>1 jan 1970</code>.</p>
  
  <p>Is there any way I can convert, for example <code>2012-12-12</code> to seconds since <code>1 jan 1970</code>?</p>
  
  <p>I want to do like:</p>
  
  <pre><code>SELECT * 
  FROM Table 
  WHERE date &gt; '2012-11-30' AND date &lt; '2012-12-30'
  </code></pre>
  
  <p>Is this even possible?</p>
  
  <p>(I would like to do it without any php date())</p>