4 ms·
Convert seconds into something human-readable (e.g. h:m:s). Surely it can be done without modulo, but using modulo seems to be the simplest solution.
by jusssi 10y ago
Convert seconds into something human-readable (e.g. h:m:s). Surely it can be done without modulo, but using modulo seems to be the simplest solution.
- busterarm 10y agoYou should be using a library for this, not math. When it's an option.