title: Converting date into PostgreSQL format
body: <p>I have a date time in format: Mon Jun 11 12:16:14 EDT 2013
  I want it inserted in postgres as Date attribute, but postgres always inserts the current date time. I think it is the issue with the format. The normal date format in postgres is something like: 2012-06-13 04:24:45</p>
  
  <p>How could I change Mon Jun 11 12:16:14 EDT 2013 format compatible to postgres?</p>
  
  <p>Thank you!!!</p>