title: Postgre is not accepting date
body: <p>$appdob=date("Y-m-d", strtotime($_POST['applicant_dob']));</p>
  
  <p>I use this function to convert the date format supplied by the user. But days greater than 12 is not accepting. If i select 13-08-2014, Instead of supplied date, 1970-01-01 is saving in database.</p>