JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
<span id="timer"></span>
JavaScript
let utcTime = Date.now() / 1000 | 0;
var x = setInterval(function () {
utcTime = utcTime+1;
console.log(utcTime)
},1000);