hhmmsstosec
v1.0.2
Published
Converts hhmmss time format to seconds
Downloads
1
Readme
How to use
//require the package
const hhmmssToSec = require('hhmmsstosec')
//syntax
hhmmssToSec('<time>')
//example
hhmmssToSec('1:00:00') //3600
hhmmssToSec('1:00') //60
hhmmssToSec('5:00') //300
hhmmssToSec('24:00:00') //86400