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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to calculate the amount for total hours in javascript

sanjanabalaji
11-Garnet

How to calculate the amount for total hours in javascript

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 1

In Thingworx there is a DateTime resource in Snippets

Top Tags