Using date range for leaves