I'm trying to convert UTC time to local time, but the below code is not working. What's wrong in it?
var parsedStartDateTime = 
             new Date(moment.unix(parseInt(data['StartDateTime'].substr(6)) / 1000));
var startDateTimeMoment = 
             moment.tz(parsedStartDateTime, tzName);
var formatted_date = 
             startDateTimeMoment.format("MMM DD YYYY h:mm:ss A");
 
     
     
     
     
    