youtubei.js / Utils / timeToSeconds
Function: timeToSeconds()
timeToSeconds(
time
):number
Converts time (hⓂ️s) to seconds.
Parameters
• time: string
Returns
number
seconds
youtubei.js / Utils / timeToSeconds
timeToSeconds(
time
):number
Converts time (hⓂ️s) to seconds.
• time: string
number
seconds