Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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...