Show ticking clock in dashboard

Hi team,

We would like to add a ticking clock that shows current time in UTC in our dashboard.
Can you please share the steps to create if it is feasible?

Thank you,
Nagashivani

Hi @PerumallaNagashivani,
Would you want it to update every second?
While It is possible to setup a clock but to have it change time, you would need to schedule an update for the time to actually change.
You could use a formula like:

formatDate(now(), 'HH:mm:ss')

Then you could add a scheduled refresh to your dashboard which will change the time but having it change every second may not be feasible and could be unpractical as that often of a scheduled refresh would only be affecting that one visual more likely than not.

Let me know if you have any additional questions!

Hi Brett,

We were able to get a work around to show the ticking clock.

  1. Create a custom visual content
    2)Give ticking clock URL in URL section https://www.zeitverschiebung.net/clock-widget-iframe-v2?language=en&size=small&timezone=Atlantic%2FReykjavik

That being done, the visual size is larger than expected. When size is reduced I get scroll bars to the side . Is there a way to reduce the size of visual and not get scroll bar?
image

Thank you

1 Like

Hi @PerumallaNagashivani,
Have you tried switching the ‘image sizing options’ to Scale to visual? This should adjust the size of the visual when you adjust the size of the custom visual box. The behavior of visual sizing can be a bit odd for situations like this as custom content will sometimes create that scroll box even after shrinking so you may just have to keep playing with the sizing.

Yes, it says that the link is not an image

Hi @PerumallaNagashivani,
If the format of the link you’re using is not an image, you wont be able to resize it. I don’t believe there’s anything that can be done to remove the scroll bar.