he checked it and realized that he had slept seven hours , which gave him one hour to shower , dress and grab something to eat in the officers mess before heading back to the bridge for his duty shift .