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