How to record time in each section of questionnaire

Hi,

I am wonder if it is possible to record time in each section of questionnaire without letting the enumerator able to change it. I have been trying use the code of “format-date-time(now(), ‘%H:%M:%S’)” and “now()”, but it cannot capture different time in each start and end section. I hope to hear from you soon.

Best regards,
Phearun

Maybe the workaround shared below should solve your issue:

In the survey tab of your xlsform:

In the settings tab of your xlsform:

Image 2

Reference xlsform:

Time Difference.xls (32 KB)

Note: Using this approach, the enumerator need not enter the time. It get’s automatically entered by the system. The once used just below the time should allow you (as an admin) to keep a record if the enumerator has changed the time manually while collecting data. This is not seen/observed by the enumerator while collecting data.

1 Like

Hi @Kal_Lam I’m trying this approach but the time being recorded is just the start time of the survey- it’s recording that time for all the following now() times. Ideally I don’t even really want the enumerator to see this question on the survey but I just want a timestamp collected so I can see how long each group of questions takes.