I am trying to change a specific datetime to user/local timezone datetime. But i couldnt able to convert it. I tried all possible solutions availabe for javascript and tried moment js. It still give me invalid date
.
My DateTime Object:
{date: "2017-07-14 14:23:30.000000", timezone_type: 3, timezone: "UTC"}
What I am trying is to convert it to the user timezone or local timezone.
Is there any options available in Moment.js to do it?
In my SugarCRM JavaScript, I couldnt use Date.toUTC
.
Methods I tried: