Get an array of date values from dataset, and based on the values, filter a date array, to get the ones available

Thanks I will test it later.