SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
from datetime import datetime, date datetime.combine(date.today(), exit) - datetime.combine(date.today(), enter)
combine builds a datetime, that can be subtracted.
combine