I’m creating a travel watch where the main hands are the local time. I’m adding a digital time and date for my home time zone. The time part is easy and working.
How do you display the current date from a different time zone?
Here’s a link to someone asking the same question but it went unanswered.
If you are driving your second time display using an offset from UTC (via #VAR_1# for example), you would get the offset (#VAR_1#), add it to current time (#DH#) and see if it is over 24 or less than zero and add or subtract a day accordingly.
Here is an example where #VAR_1# is a one hour offset value from UTC (0).
$(#DH#+#VAR_1#)>24?(#Dd#+1):#Dd#$
Use opacity to hide this Text element if the value is less than zero:
$(#DH#+#VAR_1#)<0?0:100$
Then the opposite for hours less than 0:
$(#DH#+#VAR_1#)<0?(#Dd#-1):#Dd#$
Use opacity to hide this Text element if the value is greater than or equal to zero:
$(#DH#+#VAR_1#)>23?0:100$
I have not tested this, but the concept should work for you.
There is the complication of what happens at the beginning and end of the month and the fact that the length of each month varies. I seem to recall that someone came up with solution for that. If you keep searching through the old posts you may be able to find it.