Hi All, I am trying to substract values (timestamps) of an mv field, but they are of differing lengths; ## example data: sysmodtime,idnumber,epoch time 05/03/20 12:40 PM,1,1588502400 05/01/20 12:01 AM,1,1588284060 05/01/20 12:02 AM,1,1588284120 05/01/20 12:02 AM,1,1588284120 05/02/20 12:00 PM,2,1588413600 04/02/20 12:00 AM,2,1585778400 04/02/20 01:00 AM,2,1585782000 04/02/20 02:00 AM,3,1585785600 ##desired outcome: = new field time-diff at the end: sysmodtime,idnumber,epoch time,time_diff 05/03/20 12:40 PM,1,1588502400,218340 05/01/20 12:01 AM,1,1588284060,-60 05/01/20 12:02 AM,1,1588284120,0 05/01/20 12:02 AM,1,1588284120,empty 05/02/20 12:00 PM,2,1588413600,2635200 04/02/20 12:00 AM,2,1585778400,-3600 04/02/20 01:00 AM,2,1585782000,empty 04/02/20 02:00 AM,3,1585785600,empty ------------------------------- The original data is about 200.000 rows long, so we are looking for a structural solution. Is there a simple way to loop through the timestamp value inside the mvfield and substract it and place it in a new field Any suggestions would be very welcome, Cheers, Roelof
... View more