Reputation: 303
I am getting a timezone offset as "-5.00" from a service response and I need to format it in the UI as CST. How do I convert this in JavaScript? I searched and am not sure there is any direct method in JavaScript.
Upvotes: 0
Views: 817
Reputation: 1226
I would look at using Moment. It provides a full timezone library. You may be able to make use of it still depending on your requirements and situation.
Upvotes: 1