DEV Community

Samandar Ravshanov
Samandar Ravshanov

Posted on

πŸ“¦ 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

Top comments (0)