string FormattedTimeToSeconds( timeString )

timeString is a string. This is a formatted time string, i.e. 1m 3s.
Returns a string. This is a string value of the formatted time string in seconds

This function is used to convert a formatted time string into a string representing the value in seconds.
Formatted Time String Examples…

36s
1m 3s
1h 5m 4s

Example…

a = FormattedTimeToSeconds("1h 3s")

The variable a would be assigned the string 63

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.