Using iFrames, I have integrated several analogue watches from www.timeanddate.com into my prototype, which show the current times at different locations of my client.
Now I need to display whether the shown times are in the morning (AM) or in the afternoon (PM). Is there a possibility in Axure to first determine the current time from a specific time zone, then to derive the correct one of the two possibilities (AM or PM) and then to display only this one?
Try this expression: [[Now.toLocaleTimeString().slice(-2)]] (for example, use this with a Set Text action, no conditions necessary)
This should give you either “AM” or “PM” depending on the time. Note that I only tested this in a US timezone (CST) so I don’t know if the AM or PM portion is dependent on your timezone code set by the browser.