ParseDuration Method
- Last UpdatedNov 06, 2025
- 1 minute read
The ParseDuration() method parses out and returns the hours, minutes, and seconds of a duration specified in the hhh:mm:ss format (with or without leading zeros) as separate integer values.
The ParseDuration() method parses out and returns the hours, minutes, and seconds of a duration specified in the hhh:mm:ss format (with or without leading zeros) as separate integer values.