javascript timezone conversion using momentjs

You can use moment-timezone like this:

const moment = require('moment-timezone')

const date = '2022-01-10T00:00:00.000Z';
const timezone = 'America/New_York';

const convertedDate = moment.utc(date)  // create Moment object from date in UTC
  .tz(timezone)                        // convert to provided time zone
  .format('YYYY-MM-DD hh:mm:ss A')    // display in format

console.log(convertedDate)
// 2022-01-09 07:00:00 PM