Webcomponent showing current time. Inspired by just-time.eu. Try demo.html.
<script
type="module"
src="https://unpkg.com/just-time-webcomponent@latest/dist/index.es.js?module"
></script>
Right now is <just-time></just-time>.
Right now is <just-time hide-seconds></just-time>.
Set font-variant-numeric: tabular-nums
in your CSS. Use a font supporting this like Google fonts Open Sans.