I am very new to Arcade and trying to figure out how to make a Pop-Up Arcade expression that will show the DURATION of at least 10 consecutive speeding events for specific vehicles during specific event ID's.
Does anyone know how I could get started with that? I have spent a couple hours looking online, and so far, I've only seen examples that use TWO fields that are time stamps.
I created a map that shows speeding events >= 85 mph. I want to add in the Pop-Ups the duration of a speeding event (at least 10 consecutive events again).
This is an example of a speeding event in my map, which I put into an Instant App (Reporter):

I can single out this speeding event using the "Unit Per ID field".
The time stamp field we have has dd/mm/yyyy hh:mm:ss, like this:

Thank you for any help or suggestions on how I can get started on this.