How long does it take mars to axis? It takes any planet one day to rotate on its axis. A Martian day is only slightly longer than an Earth day: 24 hrs. 39 mins. 35 secs.
2. Divide the number of seconds by 60 to convert seconds to minutes. Every 60 seconds a full minute has passed. Dividing a number tells you how many times one number fits in the other.
Converting seconds to hours, minutes and seconds. Write a program that outputs the number of hours, minutes, and seconds that corresponds to 50,391 total seconds. The output should be 13 hours, 59 minutes, and 51 seconds. Test your program with a different number of total seconds to ensure that it works for other cases. 2 Answers 2.