title: Date Casting error in mongoose with node.js
body: <p>Date Casting issue while inserting data to mongoDB using mongoose.</p>
  
  <p>Model Looks Like this :</p>
  
  <pre><code>var userSchema = new Schema({
  emailid: String,
  createddate: Date,
  status: String});
  </code></pre>
  
  <p>The value i am trying to save </p>
  
  <pre><code>{ emailid: 'test@testwert.com',
    status: 'Activv',
    createddate: '24/01/2014' }
  </code></pre>
  
  <p>Error :</p>
  
  <pre><code>{ message: 'Cast to date failed for value "24/01/2014" at path "createddate"',
    name: 'CastError',type: 'date',value: "24/01/2014",path: 'createddate' }
  </code></pre>
  
  <p>I tried <code>new Date(Date.parse(userObject. createddate))</code></p>