JSFiddle - React, Tailwind, and code Playground

HTML

<p id="timetag"></p>

JavaScript

let timer = setInterval(updateTime, 0);

function updateTime() {
	const localeOptions = {
		timeZone: 'Europe/Rome',
		dateStyle: 'full',
		timeStyle: 'short',
		formatMatcher: 'day, month, year',
		year: '2-digit'
	};
	const timetag = document.getElementById('timetag');
	const url = "https://worldtimeapi.org/api/timezone/Europe/Rome"
	fetch(url).then(r => r.json()).then(r => {
		const d = new Date(r.datetime);
		timetag.innerText = d.toLocaleString('it-IT', localeOptions)
	});
}