Skip to main content
1-Visitor
January 17, 2019
Solved

Display Browser time

  • January 17, 2019
  • 1 reply
  • 1594 views

Hi

I am trying to display browser time zone in one of my mashups label, But it is giving me server time when running my service. 

Attaching screen shots of how I need to display time

Note : I am able to display the format but it is giving server time. 

Highly appreciate if any one could help me on this.

 

Thanks in advance,

 

 

 

Best answer by CarlesColl

If you build the DateTime formatted string on the server side it's normal it give you server side timezone. You should format the DateTime value on the browser side, for instance using a ValueDisplay widget.

1 reply

1-Visitor
January 17, 2019

If you build the DateTime formatted string on the server side it's normal it give you server side timezone. You should format the DateTime value on the browser side, for instance using a ValueDisplay widget.

TIRUNL1-VisitorAuthor
1-Visitor
January 24, 2019

Thanks for your  input Carles. I have tried using expression and sending new Date(); as input and it is giving browser data.