This function returns the earlier of two dates.
Compare two dates and return that which is chronologically lesser.
DATETIME
Type
Meaning
a date
another date
The two dates are resolved and compared, the one which is chronologically lesser is returned.