If you want it to display 12 hour, then you can add %12 to the formula.
For Sunset Hour:
Add a ( at the beginning of the formula and %12) to the end of the formula.
e.g.
((floor((18.1310-2.0315*(cos(#DD#*0.01721421+0.2328))-(#DOFST#/60))))%12)
that’s working but the minute isn’t showing a “0”, just a single digit
For the minute with leading zero, you need add a function like this:
$(floor(((18.1310-2.0315*(cos(#DD#0.01721421+0.2328))/60)-floor((18.1310-2.0315(cos(#DD#*0.01721421+0.2328))/60)))60-(#DOFST#/60)))<10?0:$(floor(((18.1310-2.0315(cos(#DD#0.01721421+0.2328))/60)-floor((18.1310-2.0315(cos(#DD#*0.01721421+0.2328))/60)))*60-(#DOFST#/60)))
I’m at 54.89 latitude so the sunset difference today is 21 minutes but sunrise was 1 hour and 4 minutes out
maybe there are your longitude and daylight saving shift playing role too
I think you are right. Need to have the #DOFST# tag to offset the timezone differences.
I have added the tag back into the formula and updated the Lat 40 test watch with the tag.
I don’t understand any of this - is this, or, is this going to be, a workaround for the lack of the sunrise and sunset tags? Could someone explain what the formulae/ tags are doing - please. It looks like there are limitations but does it matter if its a few minutes out either way for the ‘normal’ person?
Yes and no.
For personal use definitely. There can be formula derived specifically for each certain spot on globe, that would show sunrise/sunset times with just few minutes deviation from local weather service.
However such formula will be accurate enough only in discreet area. For people in same time zone but more to south or to north it will be most accurate close to spring and autumn equinoxes, but will accumulate difference towards solstices. The more to west or east, the more shift ahead or behind both times.
All data tags on wearos i treat as estimates. If you want accuracy… you’d have a different smartwatch provider! All come with their limitations. In the future i would like to see facer complications enhanced to be more configurable like in watch face studio. Then watch users would have the option to select any data element and increase accuracy.
Hey everyone ![]()
We’ve been seeing some incredibly creative work from the community trying to bring Sunrise/Sunset complications back into watch faces. Seriously, the effort, ingenuity, and problem-solving you’ve all been putting in has been amazing to watch.
Sunrise/Sunset complications aren’t currently supported in Google’s WFF. This isn’t something that can be solved through formulas or design workarounds alone, as the limitation comes from the underlying platform support.
That said, please know this is something the Facer team is actively looking into. We’re exploring possible paths forward, but it’s a challenging problem given the current constraints.
We truly appreciate all the experimentation and passion you’ve shown. It helps us better understand what matters most to you, and it drives our efforts to find solutions where possible.
We’ll keep you updated as we learn more ![]()