h3.string FormatTimcode( timecodeString, formatString )
p(. timecodeString is a string. This is a timecode string.
formatString is a string. This is a string to define the format of the returned string.
Returns a string. This is a string representing the timecode in a format defined by the format string

This function is used to format a timecode string. The format string will define the separating characters between time fields. The placeholders h, m, s, f are used to indicate the hours, minutes, seconds and frames values.
The separators of the timecode string do not really matter as long as it is not a number, so it could be a dot, comma, slash etc.

Format String Examples…
h/m/s/f
h:m:s:f
h/m/s.f (note this is the format the Hog 4 uses)

Example…

a = FormatTimecode("00.01.23.04", "h/m/s/f")

The variable a would be assigned the string 00/01/23/04.

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.