Adjust Time based on Member's Time Zone

I’ve been looking for an answer for this, and haven’t found anything -

My Dataset has all of the times for EST. The site members save their preferred time zone in their custom member profile.

Is it possible to alter the time shown in the repeater based on the time zone they selected?

I was thinking of finding javascript code that subtracts hours from the text element. If anyone has had luck with this please let me know! It’s been driving me crazy.

Same issue here. Were you able to find a solution for this?

Sorry for misunderstanding your problem.

here is the solution of your problem.

const d = date from database;
const localTime = d.getTime();
const localOffset = d.getTimezoneOffset() * 60000;
const utc = localTime + localOffset;
const offset = 8; (destination city’s UTC offset in hours)
const bombay = utc + (3600000*offset);
const nd = new Date(bombay);
console.log(nd.toLocaleString());