cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Display Browser time

TIRUNL
7-Bedrock

Display Browser time

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,

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2

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.

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

Announcements


Top Tags