I’d like to add a 0 to the time if its morning and to the minute numbers if its below 10.
For example: 09:09 instead of 9:9
How should I do that?
I’d like to add a 0 to the time if its morning and to the minute numbers if its below 10.
For example: 09:09 instead of 9:9
How should I do that?
Use two digital time the first one will need to be
Text Box:
0#Db#:#DmZ#
Opacity Box:
$#Db#<10?100:0$
And the second one will need to be
Text Box:
#Db#:#DmZ#
Opacity Box:
$#Db#>=10?100:0$
That will give you zero hours from 00-09 and normal hours from 10-23 or 1-9 in 12 hour mode. The #DmZ# tag will always give you the minutes with a leading zero from 0-9.
Also the above #Db# for hours is 12/24 so it will show whichever is the users preference.
Or $#Db#<10?0:$#Db#:#DmZ#
Simply
text : #DHZ#:#DmZ#:#DsZ#
This works, but does not follow the user’s preference between 12/24h format.
In absence of a #DbZ# tag I am using the conditional as suggested by @petr.patocka above.
ok