title: How to convert TIMESTAMP to SECONDs in H2?
body: <p>I have a table</p>
  
  <pre><code>   CREATE TABLE MY_TABLE (id int, my_date timestamp);
  </code></pre>
  
  <p>and data:</p>
  
  <pre><code>   INSERT INTO MY_TABLE (id, my_date) VALUES (1, '2015-08-04 05:41:02')
  </code></pre>
  
  <p>How to select <code>my_date</code> in <code>seconds</code>: 2015-08-04 05:41:02  ---- >  1438656062 in <code>H2 database</code></p>