Porównaj daty Pythona
import datetime
today = datetime.date.today()
tomorow = today + datetime.timedelta(days=1)
1dayTimedelta = today - tomorow
result = 1dayTimedelta.total_seconds()
#the difference in seconds
Enchanting Eland