title: How to define a DateProperty object in App Engine
body: <p>I am facing difficulties in creating dateproperty object and I can't seems to create the object. Here is my code:</p>
  
  <pre><code>from google.appengine.ext import db
  
  class Baby(db.Model):
      name = db.StringProperty()
      dob = db.DateProperty()
  
  for i in Baby.all():
      delete(i)
  
  Baby(name='wilson', dob=Date(year=1986,month=3,day=5)).put()
  </code></pre>
  
  <p>Is there anything wrong with my code?</p>
  
  <p>Thanks for the help. </p>