Custom Card with upcoming date

I have from my garbage schedule multiple dates, when they will come. I would like to save these dates within an array. Then on the lovelace screen I will have a card, which shows me the next upcoming date within this array. Hope you can support me, because with YAML I am not very familiar yet.