FormattedTimeToMilliseconds

From Moving Light Assistant
Revision as of 15:17, 27 December 2015 by Andyv wiki admin (Talk | contribs) (Added Page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

FormattedTimeToMilliseconds( 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 milliseconds

This function is only available in MLA v1.2.1 Beta 6 onwards.

This function is used to convert a formatted time string into a string representing the value in milliseconds.

Formatted Time String Examples...
36s
1m 3s
1h 5m 4s

Code Example...
a = FormattedTimeToMilliseconds("1h 3s")

The variable a would be assigned the string 63000