$ 0 0 date prompt is the end date that that user picks. So, the data would be from 7 days before the current date till the end date that the user picks.