I am trying to convert string variable to date object the output doesnt have the UTC component.
Here is the sample code .. Appreciate your help!
import datetime
data="2016-01-19T00:00:00.000-0800"
result2 = datetime.datetime.strptime(data[0:23],"%Y-%m-%dT%H:%M:%S.%f")
print(result2)