Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Solved! Go to Solution.
DataTable or InfoTable?
Infotable:
var timeBetween = dateDifference(yourInfotable.rows[0][timestampField],yourInfotable.rows[yourInfotable.rows.length-1][timestampField]);
DataTable:
var yourInfotable = yourDataTable.GetGetDataTableEntries({ maxItems: 1000000 }); // -- Here the previous code, you may need to sort the yourInfotable by timestampField...
DataTable or InfoTable?
Infotable:
var timeBetween = dateDifference(yourInfotable.rows[0][timestampField],yourInfotable.rows[yourInfotable.rows.length-1][timestampField]);
DataTable:
var yourInfotable = yourDataTable.GetGetDataTableEntries({ maxItems: 1000000 }); // -- Here the previous code, you may need to sort the yourInfotable by timestampField...