19
Views
3
Comments
TimeZone conversion in REST API Response.
Question

Hi, I am using reactive web app and consuming REST API. The data I receive shows time in GMT. So how can I covert it to my local time(PST) ?


Thanks.

Rank: #245

Nannu wrote:

Hi, I am using reactive web app and consuming REST API. The data I receive shows time in GMT. So how can I covert it to my local time(PST) ?


Thanks.

Hi,

You can try the below component from the forge to convert time into your local timezone.

https://www.outsystems.com/forge/component-overview/500/time-zone.

Thanks,

Sachin

Hi, 


I think you can try it via JS. See if the follow link can help you to get the desired result :

https://stackoverflow.com/questions/9772955/how-can-i-get-the-timezone-name-in-javascript


Hope this can help. 


Best regards, 

Ricardo M Pereira