How to add days to Datepicked?

hello
I would like to insert in my collection several records with date for first record,date + 1 days for second etc…

I have this code but it does not work, only first record is add to my collection…

How to do to ass just 1 day to datepicked ?

Thanks a lot

Let deb=$w (“#myDatePicker”).value
Let fin=$w(“#myDatePicker2”).value

While (deb<fin) {
Wixdata.insert…
deb=deb+1
}
LvaLet