Since daylight saving, 'getHours' doesn't reference the correct time

Update… it doesn’t work.
In order to make the background change at 9am, I have to use code that instructs it to change at 8am.

Any ideas out there?