date types for min() function