[Javascript Clock] How to add AM/PM?

Forge Component
(3)
Published on 2014-05-20 by Patrick Baanvinger
3 votes
Published on 2014-05-20 by Patrick Baanvinger

Hi, I would to ask whether if I can add AM/PM at the end?

Solution

Hi Jonathan,


in js webblock set input parameter Use24 "False".

like below image

it will automatically add AM/PM in our clock.

Result-


Regards

Rahul Sahu

Solution

Nice to see this simple version 8 component is still used :)

If an upgrade is needed, please let me know

Rahul Sahu wrote:

Thank you Rahul! It shows the AM/PM now.

Hi Jonathan,


in js webblock set input parameter Use24 "False".

like below image

it will automatically add AM/PM in our clock.

Result-


Regards

Rahul Sahu



PEJ Baanvinger wrote:

Nice to see this simple version 8 component is still used :)

If an upgrade is needed, please let me know

Yes! I think this component would be needed in most webs hahaha. Thank you! will let you know if an upgrade is needed.