A comparison function for DateTimes that is suitable as a SearchFunc.
Both DateTimes must be non-null.
dt1 |
first DateTime to compare |
dt2 |
second DateTime to compare |
-1, 0 or 1 if |