timecode(
FRAMES
,
FRAMERATE
)

The timecode( function returns a timecode string corresponding to an integer.


Parameters

This function has two parameters:

frames – integer value containing frame number.

framerate – integer value (usually 24, 25 or 30).


Description

Returns a timecode string corresponding to an integer. This works for non-drop timecode only. (Submitted by Chris Watts)

timecode(49312,24) ☞ 00:34:14:16

Note: This function is equivalent to:

padzero(array(timepattern(int(frames/framerate),"hh:mm:ss"),1,":"),2)+":"+arrayrange(timepattern(int(frames/framerate),"hh:mm:ss"),2,3,":")+":"+padzero(str(frames mod framerate),2)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.