The time span object to convert.
The total number of milliseconds represented by the time span.
Converts a numeric value from the specified time unit to milliseconds.
The numeric value to convert.
The unit of the input value (e.g., seconds, minutes, hours).
The equivalent value in milliseconds.
Converts a time span object to its equivalent duration in milliseconds.