AnsweredAssumed Answered

Selecting max date item from dicitonary

Question asked by jamesfreddyc on Jan 30, 2018
Latest reply on Jan 30, 2018 by jamesfreddyc

Ok I'm missing the obvious here.  Your input is appreciated.

 

From this dictionary:

{'dataList': [{'last_edited_date': datetime.datetime(2018, 1, 29, 16, 50, 3), 'OBJECTID': 5307}, {'last_edited_date': datetime.datetime(2018, 1, 29, 20, 49, 18), 'OBJECTID': 6917}]}

 

I need to return only the OBJECTID value of the maximum date or as a new dictionary of the one max item.

Outcomes