score:0

var data = await getData();
var parsedCreatedDate = new Date(data[0]['createdDate']);
var parsedlastUpdated = new Date(data[0]['lastUpdated']);

Related Query

More Query from same tag