Hello,
I was wondering if it’s possible to generate a list of select values for a given range.
Let’s say I have 2 dates, ~D[2019-01-01]
and ~D[2020-02-02]
and I’d like to generate a select using date_select
helper with values only in that range. I could probably deconstruct these dates into years, months and days, but if feels like it’s not the most straightforward way of achieving my end goal.
What would be a recommended way of doing something like this?
Thanks!