AnsweredAssumed Answered

Velocity Scripting: Multidate Comparison?

Question asked by 59ad505a0182655d4025a54f598626a5b5877516 Champion on Aug 23, 2016
Latest reply on Aug 23, 2016 by sanford.whiteman

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?