Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi,
Any best practices are there to consider while i am having server, user and machines are in different timezones with Thingworx?
Ex:
Server - UTC
User - UTC+05:30
Machine - UTC+08:30
Thanks in advance.
Regards,
Sathishkumar C.
We recommend all time stamps are in UTC
If certain devices/systems use local or server time and can't convert that to UTC then you will need to maintain information about the timezones these systems are in so you can properly shift their timestamps.
Thingworx itself records all timestamps in UTC
Thanks for the response.
I am taking the same example.
Server - UTC
User - UTC+05:30
Machine (Kepware) - UTC+08:30
If i want to log the data with Value Stream, How i have to proceed? In this case, anyway value stream data timestamp will be in UTC+08:30 and Server time in UTC. How user will view the data?
Hi @SathishkumarC.
Are you pushing your own timestamps to the platform with timezone information, or are you allowing the platform to generate the timestamps? This community post might be helpful since you're using Kepware.
The user's browser should display the time correctly for their timezone.
Regards.
--Sharon
Hi @SathishkumarC.
If you feel that one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon
When Kepware sends the data and its logged to the valuestream, it is recorded UTC
When you retrieve it and show in a browser it is converted to browser local time based on the UTC