Code change for date range.