Skip to main content
1-Visitor
July 21, 2020
Solved

Server time when accessing thingworx in local machine

  • July 21, 2020
  • 2 replies
  • 1189 views

Hi,

When we access the thingworx which is installed in an EST server and access the thingworx through link in local machine, the time get changed according to our local machine. But we do not want the time to get changed. We wanted to view the server date and time. How can we achieve this in ThingWorx?

Best answer by mnarang

Time is converted according to browser time (local machine) in ThingWorx. To achieve this you would need custom extension on server side and customize the widget to handle the timezones. There are already many discussion around this topic on community.
https://community.ptc.com/t5/ThingWorx-Developers/Need-to-change-Datetime-according-to-the-time-zone/td-p/505560
https://community.ptc.com/t5/ThingWorx-Developers/Time-Zones-Working-with-data-in-multiple-time-zones/td-p/515556


2 replies

mnarang5-Regular MemberAnswer
5-Regular Member
July 21, 2020

Time is converted according to browser time (local machine) in ThingWorx. To achieve this you would need custom extension on server side and customize the widget to handle the timezones. There are already many discussion around this topic on community.
https://community.ptc.com/t5/ThingWorx-Developers/Need-to-change-Datetime-according-to-the-time-zone/td-p/505560
https://community.ptc.com/t5/ThingWorx-Developers/Time-Zones-Working-with-data-in-multiple-time-zones/td-p/515556


Community Manager
August 3, 2020

Hi @svisveswaraiya_285988

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon