Skip to main content
1-Visitor
November 1, 2019
Question

moments.js in Thingworx

  • November 1, 2019
  • 4 replies
  • 1383 views

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

1-Visitor
November 1, 2019

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.

bot1q1-VisitorAuthor
1-Visitor
November 1, 2019

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?

18-Opal
November 2, 2019

Hello,

 

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

 

/ Constantine