Hi,
There are a couple of different ways to produce a time delay, either by a software delay or by using the internal Timer 0 of the pic chip.
What times they can produce depends on the Crystal frequency you are using, so you must first state what that is.
Both hard and software delays only produce delays of up to 1 second so you then need count up the seconds to equal 1 hour.
Those tutorials I mentioned before have examples of both software delays and timer0 delays - see 'flash a led' and 'timer0' sections.