How to convert client side CurrDateTime() to UTC format using JavaScript?

Hi,


Can you please let me know How to convert client side CurrDateTime() to UTC format using JavaScript?

Server CurrDateTime is already in UTC format but client datetime I want to format in below format.

yyyy-MM-ddTHH:mm:ss+-HH:mm (2019-08-28T13:42:36+00:00)


Thanks,

Dileep

Hi Dileep,


You can use this component https://www.outsystems.com/forge/component-overview/2199/timezonemobileutils

and you can see the javascript used in the GetUTCDate function.


Regards