Create method on SysQueryRangeUtil class

I’m working on XDS I want to create method on SysQueryRangeUtil class that will filter date range between two fields if this date is >=10 I want to show this table with this filter to a user

I don’t think it’s a good case for SysQueryRangeUtil. It would require generating an expression with the extended query range syntax and then you would need to pass field names to the function. And who knows if it can work.
I would rather create a view with a computed column returning the difference in those days. Then you can easily add a filter for the difference.

1 Like