TOPIC: Adding timer for whole survey

Hello I have created a survey and I would like to add a timer for the whole survey. For example the survey is 100 questions which should be done in 2 hours. At the end of the 2 hours the survey will close automatically and save the answers. I would like to develop this timer so if u can please help me to know the best way to do it since you know the survey code structure.