I’m looking for a way to add a text to my WF whether is AM or PM in a NON-System timezone (for example: I’m in GMT+4, but I wish to know if in GMT+10 there is AM or PM (and then format my text to either “pm” or “am”).
How can I do that? I didn’t find such tag or function.
@r.liechty_SDR: I know these tags, but how can I detect AM/PM in London when I’m in Japan? I.e. system timezone is Japan, but I need [IS_AFTNOON] for London?
AM/PM tag is locale time (not local time)
that is, the AM/PM is relevant to the timezone and Daylight Savings Time
However, this is only for you setting the time zone. If you want the end user to set it then you need to use the World Clock and not be able to set the am/pm characters.
add a digital clock and set the time zone to Japan.
If you only want AM/PM then the tag would be
[AMPM] that shows AM or PM by default
but if you scroll down to text appearance you can
set the text style to tt and that will show am or pm
I think you need to run it on a watch I don’t think WFS can change the local time in the emulator.