Creation of date range selector