There is an app for that: https://appstore.home.mendix.com/link/app/2118/
Regards,
Ronald
Have you tried downloading the HTMLSnippet module from the App Store and dropping the generated code from that Clock Widget onto a page?
https://appstore.home.mendix.com/link/app/56/