I would like to convert a utc offset value (e.g. "-1000"
) into the given hour, (e.g. 2pm
). How do I do this with mommentjs
? Is there a way to do this without using momentjs timzone
? I was previously trying the following but not getting the expected outcome.
moment.parseZone("-1000").format('h A')