title: How to compare timestamp data type with string in postgres?
body: <p>I have date and time stored in postgres as timestamp format in postgres like this:</p>
  <pre><code>created_time timestamp without time zone DEFAULT now(),
  </code></pre>
  <p>now I want to search for rows that have <code>created_time</code> between <code>date_before</code> and <code>date_after</code> fields. both these fields are query strings.</p>
  <p>How can i filter data with this?</p>