combiner la date et l'heure Python
import datetime
date = datetime.date(2012, 2, 12)
time = datetime.time(1, 30)
combined = datetime.datetime.combine(date, time)
Benja
import datetime
date = datetime.date(2012, 2, 12)
time = datetime.time(1, 30)
combined = datetime.datetime.combine(date, time)
date_1 = datetime.datetime.strptime(start_date, "%m/%d/%y")
end_date = date_1 + datetime.timedelta(days=10)