# Digital Time in 4 segments

Heya, is it possible to have the digital time divided in 4 segments ?

For example for 24hr mode time 23:35, i would like to have each number separate and at the location of my choice. number 2 will appear top right, number 3 at a different place and so on…

The best way to do this is use an image and use the timeline or tag expressions to show or hide the image. You can’t parse the hour digits.

Ron
Samsung Developer Program

Did you mean something crazy like this?

2Digits.zip (44.8 KB)
Its not polished, just stitched together quick without expressions or timeline

1 Like

I agree; tag expressions would work well. For the first digit, say the number “2”, it would have a tag to make it visible on every hour after 7 PM. Likewise, the number “1” as the leading digit would be visible only between the hours of 10 AM and 19 PM.

Once you have the tag expressions in place, then the images of the numbers could be located anywhere on the canvas.

Here’s the opacity tag for the leading “1”, so it would be visible between 10 AM and 19 PM. Pls correct me if I’m wrong on the [h]our expression!

([h]==10)+([h]==11)+([h]==12)+([h]==13)+([h]==14)+([h]==15)+([h]==16)+([h]==17)+([h]==18)+([h]==19)?100:0

There is something missing in the first part, it should be more like (([h]==10)+([h]==11)+([h]==12)+([h]==13)+([h]==14)+([h]==15)+([h]==16)+([h]==17)+([h]==18)+([h]==19))>0?100:0
Or simply put ([h]>9)*([h]<20)*100

Thanks a lot guys i will try them as soon as i have the images ready. I am making a watch face where the numbers are like islands.

“Its not polished, just stitched together quick without expressions or timeline
That guys is the simplest solution.
Peter, thinking outside the box quite literally
Malcolm