Hello Facer Community,
I’m new to Facer and still learning, so please excuse me if this is a basic question.
I’d like to create a second digital clock on my watch face that always shows Iran time (GMT+3:30) in 12-hour format with AM/PM, completely independent of my watch’s local time or location.
I want it based only on GMT, with a fixed +3:30 offset applied.
Could someone please share the correct Facer expression or method to achieve this?
Specifically, I need:
• Hour and minute calculation for GMT+3:30
• Proper AM/PM indicator for that fixed time zone
Thanks in advance for helping a total beginner get this working!
3 Likes
Hello!
Welcome to Facer 
For the Hour, you can create a text layer and put this in:
(( ( (floor((#DUH#*60+#DUm#+210)/60)) % 24 + 11 ) % 12 ) + 1)
For minute, enter:
((#DUH#*60+#DUm#+210)%60)
Hope that helps!
3 Likes
Then, for AM/ PM.
Create a text field that says AM and include this in the OPACITY section:
$(floor((#DUH#*60+#DUm#+210)/60)%24)<12?100:0$
Create a text field that says PM and include this as OPACITY:
$(floor((#DUH#*60+#DUm#+210)/60)%24)>=12?100:0$
Let us know how you go or if you have any issues!
3 Likes
I did not try the conditions, but I guess it would need just one in text field like
$(floor((#DUH#*60+#DUm#+210)/60)%24)<12?AM:PM$
instead of solving opacity for two of them.
3 Likes
Should if he wants AM and PM to be in the same place (rather than AM on top and BM below) 
5 Likes
Hi Amir,
Welcome to Facer. Hope all the answers from the experts have helped you.
If you are wanting to follow not only Iran’s time and possibly others, take a look at something I’ve created. This version works on a 12 hour format. Cities between 6 am and 6 pm float on the outside of the ring while 6pm to 6 am rotate inside the ring.
If you want me to create a face for you with Iran and other cities. Let me know. It sounds like you may travel enough to look for a few key cities to follow.
And good luck with your new hobby.
2 Likes