Skip to main content

Function durationParse in pulumi-time.

Invoke token: time:index/durationParse:durationParse.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

durationParseOutput accepts Input values and returns Output of the same result.

Arguments#

PropertyTypeRequiredDescription
durationstringyes

Result#

PropertyTypeAlways presentDescription
hoursnumberyes
microsecondsnumberyes
millisecondsnumberyes
minutesnumberyes
nanosecondsnumberyes
secondsnumberyes