Hi there folks ...
I'm trying to compare three dates on a form (if they exist!) and then return the most recent date. I've tried adding the 3 values to an array and sorting it, but I don't think that Asort() works on dates!
I'm sure that there's should be some way of doing it with a couple of if ... else ... statements, but I can't figure out how to skip the dates that don't exist.
Any ideas?
I'm trying to compare three dates on a form (if they exist!) and then return the most recent date. I've tried adding the 3 values to an array and sorting it, but I don't think that Asort() works on dates!
I'm sure that there's should be some way of doing it with a couple of if ... else ... statements, but I can't figure out how to skip the dates that don't exist.
Any ideas?