How to program the "ipad-example" date selector?

Greg shared this question 6 years ago

In the ipad-example there is a date selector, how do you program the || slot || machine|| date design to select a specific date? It gives you date choices but how can you make the selected date appear in the white "selected" box next to it after choosing "any date" you want?