Fun with miliseconds

So trying to recreate a SMPTE timecode clock and I’m almost there.

I’m using:
#Dsm#

Which works for the most part… except it doesn’t have the leading zero in the seconds. Is this a floor-tag solve or is there a tag that I don’t see that does have the leading zero?

There is no version of that tag that has a leading zero. Using a “floor” tag will not fix it either. What you’ll have to do is use two versions one with #Dsm# and Opacity of $#Dsm#>9.999?100:0$ and the other with 0#Dsm# and Opacity $#Dsm#<10?100:0$. I’m sure you will be able to adjust this in case it isn’t exactly what you are looking for in function.

BUT if you have to have it in just one layer you could put this in the Text Box

$#Dsm#>=10?#Dsm#:0#Dsm#$

But I can’t say for sure it will work in a watch. It seems fine in the creator though.

1 Like