I converted this string into an object:
import datetime
date_time_str = '2018-06-29 08:15:27.243860'
date_time_obj = datetime.datetime.strptime(date_time_str, '%Y-%m-%d %H:%M:%S.%f')
when I print the time object using this:
print(date_time_obj.time())
Now I need to add 30 minutes to the time. Can someone show me how ? I tried this with no luck
updated_time = date_time_obj.time()+ timedelta(minutes=30)