Convert seconds to hours, minutes and seconds (JavaScript)

This is JavaScript implementation of the PHP function previously described in Convert seconds to hours, minutes and seconds (PHP). Please see the link for more detailed explanation of the function.

Convert seconds to hours, minutes and seconds (PHP)

Here is a small function that converts number of seconds to an array containing hours, minutes and seconds separately.

Showing 1 - 2 of 2 results