Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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,
Solved! Go to Solution.
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.
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.