Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
i need to do some time based calculations which are not well supported with "js" and thingworx.
How can I establish moments.js into thingworx?
The best way would be to write a java resource extension that includes specific services for the various functionality you need. You can expose all of the functionality provided by moments.js directly with Java.
Ah cool. Thank you.
Other question. I dont think i am the only one who needed some time calculations with thingworx.
Maybe someone wrote allready an extension?
Hello,
Just curious -- what use case do you struggle implementing with out-of-the-box ThingWorx?
/ Constantine
All Usecases where Datasources (sensors etc.) are placed all around the world and the users need to get the historian data in different time zones ... Only library that i know can handle my use case in javascript is moments.js ... Basic Javascript is simply ... bad