Skip to content
MewixMewix

Hours & minutes

Field A is total seconds. The result shows whole hours, minutes and seconds left over.

Updated by the Mewix team

Total seconds in, h m s out

The calculator floors A to a non-negative integer seconds value. Hours = floor(s ÷ 3600). Minutes = floor((s mod 3600) ÷ 60). Seconds = s mod 60. Output looks like 1h 30m 0s.

It does not accept decimal hours in A — convert hours to seconds first (multiply hours by 3600, or minutes by 60).

Questions

What about 1.5 hours typed as 1.5?

That is parsed as one second after flooring, not ninety minutes. Use 5400 for ninety minutes.