cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

moments.js in Thingworx

Regular Member

moments.js in Thingworx

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?

4 REPLIES 4

Re: moments.js in 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.

Re: moments.js in Thingworx

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?

Highlighted

Re: moments.js in Thingworx

Hello,

 

Just curious -- what use case do you struggle implementing with out-of-the-box ThingWorx?

 

/ Constantine

Re: moments.js in Thingworx

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