If you want to convert a `datetime.datetime` instance to a `datetime.date` you can use the `date()` function on it:
```
>>> x=datetime.datetime.utcnow()
>>> x
datetime.datetime(2013, 8, 22, 14, 53, 2, 533427)
>>> type(x)
<type 'datetime.datetime'>
>>> x.date()
datetime.date(2013, 8, 22)
>>> type(x.date())
<type 'datetime.date'>
```