1👍
✅
You can’t get delta between datetime
and date
object. You have to extract date from the datetime
object:
delta = value.date() - date.today()
Source:stackexchange.com