from datetime import datetime, timedelta d = datetime.today() - timedelta(days=0, hours=0, minutes=0)