Help, day codice Mellin? 32 day 33 day trasparente

Hello I would need help on watchfaces with Mellin code, day 32, 33, 0, -1, to put in transparent as you can do Thanks!
mellin|442x499 Senza%20titolo-5 Senza%20titolo-8

Image WF

Hi, it is very hard to do this because you only know the maximum number of days of the current month and not the previous month.
I can help you with expressions that will always show 31 days, not 28, 29 or 30. That would require complex expressions or multiple layers. I have also added the leading 0:
Day-2: $(((#Dd#+(31-2)-1)%31)+1)<10?0:$(((#Dd#+(31-2)-1)%31)+1)
Day-1: $(((#Dd#+(31-1)-1)%31)+1)<10?0:$(((#Dd#+(31-1)-1)%31)+1)
Day: #DdL#
Day+1: $(((#Dd#+1-1)%31)+1)<10?0:$(((#Dd#+1-1)%31)+1)
Day+2: $(((#Dd#+2-1)%31)+1)<10?0:$(((#Dd#+2-1)%31)+1)

1 Like

@ThaMattie
Hello, Thank you is fine this code, I had seen the difficult change
of numbers for month, for me this is fine and super THX

1 Like

I think you could put the following expression in the field for the next day, and it would work, except on leap years in February. Basically, it has a check for each month and if it is the last day of the current month then the next day is the first day. The last couple of checks is if it isn’t the last day of any month and not the last day of months 2, 4, 6, 9 & 11 then the next day is simply +1 to the current day.

$#DM#=01&&#Dd#=31?01:$$#DM#=02&&#Dd#=28?01:$$#DM#=03&&#Dd#=31?01:$$#DM#=04&&#Dd#=30?01:$$#DM#=05&&#Dd#=31?01:$$#DM#=06&&#Dd#=30?01:$$#DM#=07&&#Dd#=31?01:$$#DM#=08&&#Dd#=31?01:$$#DM#=09&&#Dd#=30?01:$$#DM#=10&&#Dd#=31?01:$$#DM#=11&&#Dd#=30?01:$$#DM#=12&&#Dd#=31?01:$$#Dd#<28&&#DM#!=2:(#Dd#+1):$$#Dd#<30&&#DM#!=04&&#DM#!=06&&#DM#!=09&&#DM#!=11:(#Dd#+1)?

You could simply go through it for days +2, days-1 and days-2 and edit accordingly…

Heck you could even add a condition “#DM#=02&&(#Dd#+1)=29?01:” and such to make leap years in February work… Maybe??

1 Like

hellothane for the big job but unfortunately the code doesn’t work even with the endings ?01$

now i am using ThaMattie code with the Wf under construction

Yeah, while the logic seems to work, Facer doesn’t like it. Probably too many && statements.

maybe there’s a little mistake ca see, anyway good idea.

Even if it works in Facer Creator, not all watch brands like the multiple conditions like $something?a:$$somethingelse?b:$

Okay, thank you, too bad though.
:frowning: