my first assignment.......................to find the no of datetime items in the array between two elements in the array