default_dates function

Get the minimum and maximum date range