_IsValueGreaterThanArray (PFDateTime, Array)
Checks if a date time value is greater than all of the date times in a list.
Syntax
_IsValueGreaterThanArray(valueToTest,valueList)
Parameters
Parameters for _IsValueGreaterThanArray (PFDateTime, Array)
Parameter |
Definition |
Data type |
valueToTest |
Date time value with which to compare the values in the list. |
PFDateTime |
valueList |
Array of date time values against which to compare the value specified in the valueToTest parameter. |
Array of PFDateTime values |
Returns
True or False (Boolean), indicating whether the date time to test is greater than all of the date times in the array.
Notes
- The valueToTest value is compared to each element of the array. If the value is greater than every element of the array, the method returns True. If at least one element is less than or equal to the value, the method returns False.
- All comparisons are done using the _CompareDates method and are normalized. For more information, see About date time processing.