Limiting time and date for data collection

Hello Community

Please, I need assistance to set a specific duration and time for my enumerators to collect data. I want to ensure that the enumerators cannot enter the data into the system beyond the days and times.
I am struggling to do the following:

  1. Data collection starts from 2023-06-07 to 2023-06-10, thus 4 days
  2. The enumerators collect data daily from 8:00am to 5:00pm.

Please, how will I do this in the XLSForm?

Thank you

@msuuta, maybe these posts discussed previously should help you solve your issue:

And this one too …

And this one too …

And this one too …

Thank you for sharing very useful information with me