Making datepicker change contents

Do you need the data to be there when you close and restart the app? If yes, then you need a tinyDB to stored whatever you want. If there are several data set for each date then you can use the date like Tag, and stored its data like value.