timecodetoframe()
From Wiki077
float timecodetoframe(string timecode, float)
Given a timecode and a frames per second value, this expression will return a frame.
The timecode should be in the format: hh:mm:ss.ff where
-
hhrepresents hours, -
mmrepresents minutes, -
ssrepresents seconds, -
ffrepresents frames in the range 1 to fps.
The hour and minute and frame portions of the timecode string are optional.
Examples
returns 12345:
timecodetoframe("00:06:51.15", 30)
returns 12345:
timecodetoframe("06:51.15", 30)
