Hello! I’m creating a face watch displaying time in digital. I would like to apply different treatment to each digit. For instance if the time shows 15:37 I would the ‘1’, ‘5’, ‘:’, ‘3’ and the ‘7’ to all be of all different colours and transparency.
For the hours, I have tried deleting one of the letters in the tag ‘’#Db#’’, but it did not work.
Any suggestion?
(floor(#Db#/10)) = First Digit of the Hour (#Db#-(10*(floor(#Db#/10)))) = Second Digit of the Hour (floor(#DmZ#/10)) = First Digit of the Minute (#DmZ#-(10*(floor(#DmZ#/10)))) = Second Digit of the Minute
The same expressions that @kumar.panda9 posted also works for seconds by changing every #DmZ# to #Ds#
While you got it solved meanwhile, I would just like to add, that there are some little bit simpler options: #DhZA# or #DkZA# direct tags for first digit of hours #DhZB# or #DkZB# direct tags for second digit of hours (depending on which format do you prefer.)
(#Dm#%10) works for second digit of minutes too.
That is true, but if you use them you will loose the 12/24 hour ability. By using the above expression even if it is longer you keep 12/24 hour functionality.