Conditionals and Digital Watch Colons

So perhaps I am being a bit dense, but I want to have a digital time on my analog watch face. I also want it to display based on what the user specifies 12 or 24 hour and stay centered on watch face. Right now I have this because I want the leading zero for the hours to be there so the display doesn’t shift when it goes from 9 to 10:

$#Db#<10?0(#Db#):#Db#$:#DmZ#:#DsZ# #Da#

I originally wanted to add another conditional to leave off the #Da# for 24 hour mode but I found out it won’t let me. The digital face is already centered so if I just plain remove #Da# the time center’s itself without the DA there but if I manually add the #Da# it centers it for that clock. My issue is I can’t find a way to conditionally add or remove the #Da# since I need the leading 0 conditional in the beginning.

I originally thought about putting the whole clock face in a conditional like this:

$#DTIMEFORMAT#=12?(#DhZ#:#DmZ#:DsZ# #Da#):(#DHZ#:#DmZ#:DsZ#)$

or

$#DTIMEFORMAT#=12?#DhZ#(:)#DmZ#(:)DsZ# #Da#:#DHZ#(:)#DmZ#(:)#DsZ#$

but obviously neither works. I haven’t found a way to escape a : so is there another way to do what I am trying to do?

Thanks
-Songaeki

1 Like

This is what I use. I have had good luck doing it this way. I found all this on a post from the Facer Community.

Text Box:

0#Db#:#DmZ#

Opacity Box:
$#Db#<10?100:0$
24 Hour Only:
$#Db#<10&&#DTIMEFORMAT#==24?100:0$

Text Box:
#Db#:#DmZ#

Opacity Box:
$#Db#>=10?100:0$

12 Hour Only:
$#DTIMEFORMAT#==12?100:0$

24 Hour Only:
$#Db#>9&&#DTIMEFORMAT#==24?100:0$

It includes the options for 12/24 hour or 12 hour and/or 24 hour by itself. You can also do it with 3 elements. One for zero hours 0#Db#: one for regular hours #Db#: and one for minutes :#DmZ#, just overlap the colons for the hours and minutes.
Hope this helps you out.

3 Likes

Oh, I didn’t think about hiding and showing separate times. Thanks a bunch!

1 Like

I take it you need a pro subsciption for this. It would be nice if there was a video or tutorial of the creator pro options before I sign up as I really want to see how much extra there is to offer such as more stickers, better analogue arms, changing colours separately on the dim screen from active.

I am on basic just now as you have to enter credit card details for even the trial and I don’t know when I will be busy or not over any period to proparly test things in 3 days.

Currently I am right justifying a monospaced font to keep the colons centered which works but looks a tad off for single figure hours.

2 Likes

I’m a free user and you can do a lot that way. The only things you can’t do is make any face that has to be touched by the user to change something. Chronographs, color changes or any other touch operated coding you have to upgrade to be able to use it.

3 Likes

Or, to make things really easy use the mathmatical symbol for ratio that look just like a colon:

So: $#DISDAYTIME#==true?#WSHZ#∶#WSmZ#:#WRHZ#∶#WRmZ#$

2 Likes

The easiest tag to use for user settings of 12 or 24 hours, which I always use is: #DbZ# for your hours. I always split my hours, minutes and seconds.

3 Likes

Personally I think everyone should just suck it up and learn 24H time but I know it won’t happen any time soon :wink:

1 Like

@rob.fisk
I am an Amateur (Ham) Radio operator and a former Emergency Managment Agency (local version of FEMA) member, and I can use 12-24-hour times without any problems. As a matter of fact, my test watch and the old cellphone it is connected to both are set for 24-hour.

2 Likes

This is how they display the Bus Times for us old folk here in Cornwall .
.
.

2 Likes

The BBC uses (teaches) separating hours and minutes using a colon independent of 24hr or 12hr times eg. O6:45 or 6:45 this is the generally accepted format except apparently in Penzance :smiley:

2 Likes

Yes, you always separate hours from minutes but for formatting consistency does 06:45pm just seem wrong? it’s 06, that’s am. 4 hours in a day, 2 hour clock on device and take 12 aay for afternoon conversation.

1 Like

Yeah, but that new fangled combustion engine must still be confusing down there :wink:

1 Like

Ay . Trevitick will be turning in his Grave .
.
.

3 Likes

At least he will be turning by the power of pressure induced by the super-heating of water in a constrained sub system

2 Likes

AM/PM is only used with a 12 hour clock. A 24 hour clock does not use them as any hour before 10:00 has an 0 before it eg 06:15

12 hr clock - 6:45AM / 6:45PM
24 hr clock - 06:45 / 18:45

1 Like

Like this?

2 Likes