adding or subtracting an hour, rtc stuff

what you said my friend went right over my head,

Strong hint: there are 60 seconds in a minute and 60 minutes in a hour.

That works out to 3600 seconds in an hour.

So 8:00 AM is 8 hours past midnight, or 8*3600 = 28800 seconds past midnight.