Filestream duration in seconds to timecode

Hello, im trying to convert the value in seconds from filestream to a video timecode format 00:00:00 … i tried different methods and nodes like asvalue but i dont get the right way, any suggestion? thanks

Format value with leading zeros is better than asvalue, and several mod (60) together with a frac, with the fraction x 25 to give frames and stuck together with +(string)…

ok, thanks a lot catweasel, i didnt remember the format value node, this is the final patch, i include minutes , seconds, and frames, and an input for set the Fps of the video, hope somebody find it useful

Seconds two timecode.v4p (11.5 kB)

cool patch!
add it to the contributions page so everyone sees it

SUre! thanks manuel