title: Convert epoch time to standard datetime from json python?
body: <p>I have a JSON:</p>
  
  <pre><code>[{'id':'1',
  'name':'rob',
  'created':'1577431544986' 
      },
  
  {'id':'2',
  'name':'tom',
  'created':'1566431234567' 
      }]
  </code></pre>
  
  <p>I need to convert the UNIX timestamp present in the JSON to standard DateTime.</p>
  
  <p>My final output should be:</p>
  
  <pre><code>[{'id':'1',
  'name':'rob',
  'created':'27-12-2019' 
      },
  
  {'id':'2',
  'name':'tom',
  'created':'22-08-2019' 
      }]
  </code></pre>
  
  <p>What i have done:</p>
  
  <p>I'm able to figure out doing it for single variable:</p>
  
  <pre><code>import datetime
  time = '1566431234567'
  your_dt = datetime.datetime.fromtimestamp(int(time)/1000)
  print(your_dt.strftime("%d-%m-%Y"))
  
  
  '22-08-2019'
  </code></pre>
  
  <p>But how to use the same in above JSON?</p>