There are several marketplace solutions that provide you a (digital) clock into your application.
Among them:
https://marketplace.mendix.com/link/component/119067
and
Hello,
You can also check the ClockWidget https://www.zeitverschiebung.net/en/clock-widget and choose the size and type, time zone & copy the generated html code and use it in your mendix application. For this you have to download the HTMLSnippet module https://marketplace.mendix.com/link/component/56 from the App Store and drop the generated code from the Clock Widget.
Hope it helps!