I have a list of Date objects, and a target Date. I want to find the date in the list that's nearest to the target date, but only dates that are after the target date.
Example: 2008-10-1
2008-10-2
2008-10-4
With a target date of 2008-10-3
, I want to get 2008-10-4
What is the best way to do it?
AMPScript
in the SF Marketing Cloud, correct?