import time,datetime
resoult9 ='November 18, 2016'
t = resoult9.strip()
time_format = datetime.datetime.strptime(t,'%B %d, %Y')
time_format = time_format.strftime('%Y-%m-%d')
print('生效日期:', time_format)
import time,datetime
resoult9 ='November 18, 2016'
t = resoult9.strip()
time_format = datetime.datetime.strptime(t,'%B %d, %Y')
time_format = time_format.strftime('%Y-%m-%d')
print('生效日期:', time_format)