Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
HI, I have timestamp field in my grid( which comes from the stream).
The timestamp values are not in the server's timezone.
I need to show the timestamp values as the same as server time.
Solved! Go to Solution.
Timestamps are maintained in UTC and automatically converted to browser local time.
So if you need to force it to a different time zone you can probably go a few routes
1. Maintain an offset and apply that offset to the datetime before sending it to the client machine
2. Generate the list on the server and then convert it to string so it is string vs. time date in the client machine
3. Use an expression client side to offset the datetime before displaying
Timestamps are maintained in UTC and automatically converted to browser local time.
So if you need to force it to a different time zone you can probably go a few routes
1. Maintain an offset and apply that offset to the datetime before sending it to the client machine
2. Generate the list on the server and then convert it to string so it is string vs. time date in the client machine
3. Use an expression client side to offset the datetime before displaying
Hi @sabharees.
If you found the previous response helpful, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon