Calculate a list of identical date prefixes for a date range

The background is, I want to use the keyword field to optimize the search of 1 date range, because it is keyword, I need to use prefix search, but if it is 1 date range, I need to calculate 2 date prefixes based on the start date and end date, and I want to be able to output only 2021-06 instead of every day in, for example, a cross-month scenario, which can greatly help me to streamline the parameters, but to calculate this thing is too much trouble, please ask what tool class can do this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.