Skip to main content
jenscAnswer
17-Peridot
May 31, 2023 6:18 AM UTC

Hello @Sathishkumar_C,

 

Just for clarification: Dates are converted into browser time zone only when shown, for example in the results or when passed into a mashup. It is "actually" still in UTC (or whatever the server time zone is set to).

 

So when logging a new Date() value, it will present as UTC, or when passing it to some other service, it will also be in UTC.

 

Regards,

Jens

4 replies

19-Tanzanite
May 31, 2023 2:32 AM UTC

Hi @AP_10343008 

 

Could you please explain your use case 

 

/VR

Translate
17-Peridot
May 31, 2023 4:57 AM UTC

Usaully new Date() will return the date and time with respect to browser time zone.

Translate
jensc17-PeridotAnswer
17-Peridot
May 31, 2023 6:18 AM UTC

Hello @Sathishkumar_C,

 

Just for clarification: Dates are converted into browser time zone only when shown, for example in the results or when passed into a mashup. It is "actually" still in UTC (or whatever the server time zone is set to).

 

So when logging a new Date() value, it will present as UTC, or when passing it to some other service, it will also be in UTC.

 

Regards,

Jens

Translate
17-Peridot
May 31, 2023 9:03 AM UTC

that's what i meant. thanks for the detailed clarification. 

Translate