📦 Convert a time string to seconds: '00:22:17' → 1337

samandar

Samandar Ravshanov

Posted on July 31, 2019

📦 Convert a time string to seconds: '00:22:17' → 1337
from functorflow import f

print(f('sec', '00:22:17'))
# '1337'
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
samandar
Samandar Ravshanov

Posted on July 31, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related