Can you write the needed formulas and/or equations needed to compute the results manually?
Some basics: 1 hour = 60 minutes and 1 minute = 60 seconds.
Given the seconds, you can compute the hours,...