Determine the duration of the questionnaire

HI
how are you ?
please I need your help
How can I determine the duration of the questionnaire for one week only and the questionnaire is closed automatically