Skip to main content
14-Alexandrite
June 4, 2019
Solved

How to get kepware timezone in Thingworx

  • June 4, 2019
  • 1 reply
  • 2490 views

My scenario is that my kepserver is in local timezone and Thingworx instance is in UTC timezone. How can I get the difference between the timezone in Thingworx so that I can convert the date time in machine timezone itself.

 

With regards

Yedukrishnan U

Best answer by Yedukrishnan

HI @slangley ,

 

We were able to retrieve local timezone of kepware through system tags which will not change based on Thingworx server timezone. We started logging those data and able to capture local timezone. 

 

With regards

Yedukrishnan

1 reply

Community Manager
June 20, 2019

Hi @Yedukrishnan.

 

In discussing this with the Kepware support team, I was advised that the timestamp in all interfaces is sent from Kepware as UTC.  If the ThingWorx instance is already in UTC, not sure what problem you're running into.  Can you provide an example of what you're seeing?

 

Regards.

 

--Sharon

Community Manager
June 28, 2019

Hi @Yedukrishnan.

 

If you still have questions on this, please let us know.  Otherwise, it the previous response answered your question, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

Yedukrishnan14-AlexandriteAuthorAnswer
14-Alexandrite
July 31, 2019

HI @slangley ,

 

We were able to retrieve local timezone of kepware through system tags which will not change based on Thingworx server timezone. We started logging those data and able to capture local timezone. 

 

With regards

Yedukrishnan