getSecondsInDuration()

Returns the number of seconds in a duration.

getSecondsInDuration(Duration duration)

duration: Type: Duration. The duration object returned by $A.localizationService.duration.

Type: number The number of seconds in the duration.

See Also