it's better to use 
```
import datetime
...
datetime.timedelta(...)
```