Sort Array by Datetime

What do I want to do:

I want to sort the array by descending Date Time.
Then, for the item with the latest date time (i.e. the top most result) I want to be able to use the pulseID for a further function.

Thank you.

You can use the sort() function for that. Details are here:

https://www.make.com/en/help/functions/array-functions

One thing to note: you need a field that contains the timestamp. Right now, your date is in two fields. I’m not sure if you receive it that way (I can’t see the input) or if you are parsing it yourself.

If you are parsing it into two split fields, use the original value. If not, you’ll need to do a bit of time math to convert the two fields into a single one that represents the correct timestamp. Then, use that field to sort.

L