Horizontal layout of all weekdays with highlight

I’m veeery new to Facer and I’ve been prowling Google and obviously Facer Documentation to find info on:

“how to make the string of weekdays which highlight the “today” day”

I would be fully satisfied with a horizontal position - nothing fancy - only first letters of weekdays - eg. all grey and this particular day is in different color or underlined…
Can you please tell me if there is any code or should I do it some other way. So far my attempts were pathetic :frowning:

There is such a solution, but you need to know how you want to arrange the days of the week. That is how you represent your design.

1 Like

The best for me would be the exact opposite of the above - my idea was a horizontal layout of all weekdays (M T W T…) :upside_down_face:

Ok. I’ll write in a few minutes.

Thank you thank you thank you…

Luckily you have a tag called #DOW#, which returns the current day of the week in numbered format from 0 to 6, Sunday to Saturday.

My way would be a separate text field for each day of the week.
Then I would duplicate that in another color (your highlight color) and make sure the colored ones are layered exactly on top.

Then for each colored one, check if the number is the same as today, and change the opacity:

(#DOW#=0?100:0) - Sunday
(#DOW#=1?100:0) - Monday
(#DOW#=2?100:0) - Tuesday

This means that the colored number for today will show, the others will not be colored.

@lucky.andrei will probably come up with something much cooler, but there are many ways to er, skin a cat. (Where the heck did that saying come from?)


Oh my - you are my savior :slight_smile: I will attempt to do exactly that. And as far as cats… for some things my 2 cats together with my dog did at home, they should be skinned alive :rofl:

No problem at all. And you have a pretty decent watch portfolio there BTW. Really nice work :slight_smile:

Leave the cats out of it - they’re in it with the penguins

1 Like

Hehehehe - I secretly believe that King Julian is their leader - for all the mess they do :slight_smile: And thanks for “decent” - learning Facer is sometimes very hard or tricky so in some cases I just give up.

1 Like



1 Like

That is the best way for a woman - to show her :slight_smile: Thank you!

1 Like

nice one @lucky.andrei

1 Like

this was my solution for someone else a month ago:

Can you explain in detail Lucky cause I tried that and it didnt work…

Do you add 1 text item and put the script in the text field or do you type every day of the week out and put that information in the text field,


This formula must be placed in the Text field to automatically show the day of the week.


If you want the current day of the week to stand out from the rest, then you need to enter less than 100 in the Opacity field or use @ThaMattie 's advice

…stupid question Lucky, do I need to add each day of the week with the formula in the text field, or do I just create 1 text element and drop the formula in the text field?

I do not know how you plan to place these elements. But the example above shows the previous day of the week with its formula, the current day of the week with its tag and the next day with its formula. All this in the Text field