Dec 13, 2011

Date, Time

Pythonic way to add date.timedate and datetime.time objects


>>> datetime.datetime.combine(datetime.date(2011, 01, 01), datetime.time(10, 23))
datetime.datetime(2011, 1, 1, 10, 23)

No comments: