Date Intrinsic Functions - Min Method

Returns the earliest date

Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)DateValue of the earliest date
Date1*InputDateComparison date
Date2*Input (Optional)DateComparison date
Date3*Input (Optional)DateComparison date
Date4*Input (Optional)DateComparison date
Date5*Input (Optional)DateComparison date
Date6*Input (Optional)DateComparison date
Date7*Input (Optional)DateComparison date
Date8*Input (Optional)DateComparison date
Date9*Input (Optional)DateComparison date


Min compares two or more values, returning the earliest.


In this example, where Value1, Value2 and Value3 contain "2015-05-31", "2015-04-30" and "2014-12-31" respectively, the result would be "2014-12-31".
#Result := #Value1.Min( #Value2 #Value3 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2