fixed hour calculation