1.0.0 • Published 5 years ago
duration2hh-mm-ss v1.0.0
Duration to hh-mm-ss
Install
npm install duration2hh-mm-ss
Usage
import getFormattedTime from 'duration2hh-mm-ss';
const hhmmss = getFormattedTime((3600 + 5 * 60 + 30) * 1000); // 01:05:30
1.0.0
5 years ago