Added the ability to sub select dates of data.