JSFiddle - React, Tailwind, and code Playground
HTML
<div id="ddate"></div>
JavaScript
var destination = new Date("October 13, 2010 11:13:00");
(function() {
var now = new Date();
var xsec= (destination - now) / 1000;
var days = Math.floor(xsec/ 60);
var hours = Math.floor(xsec/ 60 / 60);
var minutes = Math.floor((xsec / 60) - (hours * 60));
var seconds = Math.floor(xsec - (hours * 60 * 60) - (minutes * 60));
$('#ddate').html(hours + ':' + minutes + ':' + seconds );
}).periodical(100);