Dynamically populate multi select with dates?


Im trying to figure out if it is possible to automatically populate a multi select field with dates.
So what im trying to do is to always have two dates in advance in the list.
E.g if today is 5th april the list should be populated with 6th and 7th of april. And the day after that 7th and 8th of april and so on.

Would be thankful for any advice that can point me in the right direction of how to even start with this.

Posted solution here

You should check out this article. As another person has asked part of this question before here on the community.