title: PostgreSql + Date Format Convert YYYY-MM-DD to Day, Date Month Year
body: <p>Suppose I am storing this format in my postgre database table. Now I have to compare this date with one of the texbox value contain date in different format. </p>
  
  <pre><code>Database Date Format :: YYYY-MM-DD For example :: 2010-11-26
  
  Text-Field Date Format :: Day, Month Date, Year :: Fri, Nov 26, 10
  </code></pre>
  
  <p>Now I have tried to compare this value but no response Plz suggest.</p>
  
  <pre><code>    Select * from table_name where user_id=('11') 
  and to_char(effective_date, $$$$$$$$)=trim('Fri, Nov 26, 10');
  </code></pre>
  
  <p>Now Plz suggest which format should I use in place of $$$$$$$$ ???</p>
  
  <p>Thanks !!!</p>