How to Set Current Time HH:MM PM Format

I want to display the current time in the HH:MM PM format.

Currently, I’m using “[[Now.toLocaleTimeString()]]” which is resulting in HH:MM:SS. How do I remove the SS?

Hi -
Depending on your exact use-case, this might not be exactly what you’re looking for … but it accomplishes what you’re looking for…


Hope it helps!

1 Like

Another way is to “build” the time using getHours() and getMinutes():
TimeFormatting.rp (47.6 KB)

1 Like