JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://momentjs.com/downloads/moment.js"></script>
JavaScript
const m = moment().utcOffset(0);
m.set({hour:0,minute:0,second:0,millisecond:0})
let d = moment.duration('+03:30').asHours();
// console.log('Positive offset: ', d);
// console.log('Positive time: ', m.add(d, 'H').format());
//console.log(m.format('h:mm a'))
let b = moment.duration('-03:30').asHours();
// console.log('Negative offset: ', b);
// console.log('Negative time: ', m.add(b, 'H').format());
//console.log(m.format('h:mm a'))
x = '-03:30'
x = x.replace(/^\+/,'');
// console.log(x);
let z = moment().toDate();
console.log(z);