add minutes to datetime code example
Example 1: python datetime add minutes
updated_time = date_time_obj + timedelta(minutes=30)
print(updated_time)
Example 2: python datetime add minutes
b = a + datetime.timedelta(seconds=3)
updated_time = date_time_obj + timedelta(minutes=30)
print(updated_time)
b = a + datetime.timedelta(seconds=3)