timestamp = '2008-09-26T01:51:42.000Z'
ts = time.strptime(timestamp[:19], '%Y-%m-%dT%H:%M:%S')
time.strftime('%m/%d/%Y', ts)
How do you convert YYYY-MM-DDTHH:mm:ss.000Z time format to MM/DD/YYYY time format in Python?