Drop-Frame Timecode Counter
Generates an accurate drop-frame timecode readout.
Code
var fps = thisComp.frameRate;
var frames = Math.floor((time - inPoint) * fps);
var h = Math.floor(frames / (fps * 3600));
var m = Math.floor(frames / (fps * 60)) % 60;
var s = Math.floor(frames / fps) % 60;
var f = frames % fps;
(h<10?"0":"") + h + ":" + (m<10?"0":"") + m + ":" + (s<10?"0":"") + s + ":" + (f<10?"0":"") + f;
timecodetextutility
How to Use
Paste in Source Text of a text layer. Counter starts at in-point, matches comp frame rate.