Time Intrinsic Functions - Max Method

Returns the latest time

Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)TimeValue of the latest time
Time1*InputTimeComparison time
Time2*Input (Optional)TimeComparison time
Time3*Input (Optional)TimeComparison time
Time4*Input (Optional)TimeComparison time
Time5*Input (Optional)TimeComparison time
Time6*Input (Optional)TimeComparison time
Time7*Input (Optional)TimeComparison time
Time8*Input (Optional)TimeComparison time
Time9*Input (Optional)TimeComparison time


Max compares two or more values, returning the largest.
Time ranges from 00:00:00 to 23:59:59


In this example, where Value1, Value2 and Value3 contain "10:25:30", "17:14:58" and "14:35:00" respectively, the result would be "17:14:58".
#Result := #Value1.Max( #Value2 #Value3 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2