using date picker for start and end date