hi
i have a array of time
var A ={8:50,8:50,9:50,10:00,10:00,10:00,13:00,15:00,18:00,19:00}
when i substract next value from previous value and the difference is greater than 5 min then skip the next value and first value store in another array
ex suppose we substract 10:00 fom 9:50 and diff is greater than 5 min skip the 10:00 and store 9:50

Mukesh NayakRank #1,172 · 1.5K reputationPosted Feb 24, 2018, 10:32 PM EST
Rajneesh ChaubeyRank #1,073 · 1.8K reputationPosted Feb 24, 2018, 9:03 PM EST
Vishnu BhangaleRank #9,687 · 203 reputationPosted Feb 24, 2018, 11:10 PM EST