Why won't this code work?

Ok now it returns 0 even after I slept for 7 hours.

Any ideas?