Python datetime ajouter des minutes
updated_time = date_time_obj + timedelta(minutes=30)
print(updated_time)
Evil Echidna
updated_time = date_time_obj + timedelta(minutes=30)
print(updated_time)
from datetime import timedelta
t1 = datetime.time(hours, minutes, second) + timedelta(seconds=s, minutes=m, hours=h)
b = a + datetime.timedelta(seconds=3)