add the date range for dashboard