title: Presto SQL: TO_UNIXTIME
body: <p>I want to convert a readable timestamp to UNIX time. </p>
  
  <p>For example: I want to convert <code>2018-08-24 18:42:16</code> to <code>1535136136000</code>.</p>
  
  <p>Here is my syntax: </p>
  
  <pre><code>    TO_UNIXTIME('2018-08-24 06:42:16') new_year_ut
  </code></pre>
  
  <p>My error is: </p>
  
  <pre><code>   SYNTAX_ERROR: line 1:77: Unexpected parameters (varchar(19)) for function to_unixtime. Expected: to_unixtime(timestamp) , to_unixtime(timestamp with time zone)
  </code></pre>