from datetime import datetime d = datetime(datetime.now().year, datetime.now().month, datetime.now().day,11, 59, 0 ) print d