enter code here import datetime import sqlite3 time1=datetime.datetime(2000,1,1,hour=6,minute=0) time2=datetime.datetime(2000,1,1,hour=10,minute=0)