I have an ISO8601 datetime string retrieved from the server in UTC and would like to display it in the users local time in the following format.
YYYY/MM/DD - Hour:Mins:Seconds
How can I do this in javascript/jquery? Using momentjs is also acceptable.
Using momentjs try the following snippet