_IsValueInArray (PFDateTime, Array)
Checks if a specified date time value is equal to one of the date time values in an array.
Syntax
_IsValueInArray(valueToTest,valueList)
Parameters
Parameters for _IsValueInArray
Parameter |
Definition |
Data type |
valueToTest |
Date time value with which to compare the values in the array. |
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 value to test is in the array of date times.
Notes
- The valueToTest value is compared to each element of the array. If the value is equal to at least one element of the array, the method returns True. Otherwise, the method returns False.
- All comparisons are done using the _CompareDates method and are normalized. For more information, see About date time processing.