Skip to main content
1-Visitor
August 12, 2019
Question

How to calculate the amount for total hours in javascript

  • August 12, 2019
  • 1 reply
  • 792 views

How to calculate the amount for total hours in javascript.

For example: starttime :10:00am to  endtime :11:00am the difference will be total 1 hour .so for one hour amount will be 50/-.Likewise for each updated hours amount should be calculated. Please help me to write  service

1 reply

22-Sapphire I
August 12, 2019

In Thingworx there is a DateTime resource in Snippets