capIdsFilterByFileDate

Searches though the records in pCapIdArray and returns only records whose file date is between pStartDate and pEndDate, as an array of capId (CapIDModel) objects

Version

1.4

Parameters

Parameter Type Description
pCapIdArray array of CapIDModel objects Array of record ID (CapIDModel) objects to filter.
pStartDate string Start date of the file date range, in MM/DD/YYYY format.
pEndDate string End date of the file date range, in MM/DD/YYYY format.

Notes

To find the number of records returned, store the return value to a variable and use the length property to find the number of records in the array.

Example

capArray = capIdsFilterByFileDate(myCapArray, "01/01/2006", "12/31/2006"); capCount = capArray.length;