>>> import datetime >>> t = datetime.datetime.now() >>> t - datetime.timedelta(hours=1, minutes=10) datetime.datetime(2012, 12, 26, 17, 18, 52, 167840)