1 Reply Latest reply on Aug 23, 2016 1:49 PM by Sanford Whiteman

    Velocity Scripting: Multidate Comparison?

    Courtney Grimes

      I have a unique use case where I need to analyze the newest date amongst n values of dates for a Velocity script, but unfortunately, I can't think of any way to do that with multiple values using $date.difference because n is highly variable. I had thought of converting all timedate stamps to Unix epochs and then just finding the highest value, but I don't see any way to do that and thus am stumped.

       

      Is there any reasonable way to do this sort of comparison?