To list all dates (2019): 2019-123456789101112@2019-12
To list (2019) April > August: 2019-456789101112@2019-12111098
This is range-based, so a KV key will have a start-date and an end-date, if you only want the same month or day, you just set from that date to that date.
Example (2019-03-30): 2019-3456789101112-302928272625242322212019181716151413121110987654321@2019-1211109876543-123456789101112131415161718192021222324252627282930
Like I wrote in the first entry, these keys will be long, but it’s still the only way to handle dates.
Also, keep in mind that to do this correctly, you’ll need to use the JS date function to get the correct amount of days per month. And of course, you’ll need to be consistent, if you are EVER going to use days or time-stamps, you’ll need to include it from the get-go.