I am quite not good at using timers. What I wish to do is that I want create a program for turning of my computer for a certain period of time.

The scenario: I am downloading a huge file and I will not be home when it is finished downloading. So I want to create a program that will turn the computer off after 7 hours. Could someone help me?