I want to get a date independent of timezone offset
const dateOne = moment('Thu Oct 20 2019 12:00:00 GMT-1200').format('YYYY/MM/DD'); // 2019/10/21
const dateTwo = moment('Thu Oct 20 2019 12:00:00 GMT+2300').format('YYYY/MM/DD'); // 2019/10/19
But I need to get 2019/10/20 for both cases. JS Date and moment as well are formatting a date with influence of GMT offset. How to avoid it?