Extension for dataSource - Date range