Returns the number of seconds with parsing the given duration
Optional
the duration string
the duration in seconds
David Hsing
Returns the number of seconds with parsing the given duration