JSFiddle - React, Tailwind, and code Playground

HTML

<div id="timingInfo"></div>

CSS

#timingInfo {
    border: 1px solid #000;
    padding: 5px;
    width: 400px;
    height: 50px;
    text-align: center;
}

JavaScript

var currentdate = new Date(); 
var cis_current_time = currentdate.getSeconds() + "s "+ currentdate.getMilliseconds() + "ms";

	$("#timingInfo").html(cis_current_time);
	setTimeout(function() {	
var currentdate = new Date(); 
		$("#timingInfo").html($("#timingInfo").html() + ', ' +  currentdate.getSeconds() + "s "+  currentdate.getMilliseconds() + "ms");
	},1000);