Hello everyone,
I have built an app that makes it possible to fill out vacation requests. So now I have in the tab "Period" the vacation start and the vacation end. There I can select the days with the calendar option. Next to it I have a field that defines the number of vacation days.

Now I want the app to automatically count the days from one date to the next and enter them in the field. Is this possible?
For example:
Vacation start: 02/09/21
Vacation end: 05/09/21
Number of days: Vacation end - Vacation start (automatically)
Best of all, of course, the weekends, that is, Saturday and Sunday are omitted, because you take no vacation.
Is this somehow possible or is this asking too much?
Thanks in advance to all!