JSFiddle - React, Tailwind, and code Playground
by ian_smithz
HTML
<div id="info">show this until specific time</div>
<div id="timeout" style="display:none">now show this when specific time starts</div>
JavaScript
window.setInterval(function(){
var current = new Date();
var expiry = new Date("November 9, 2016 11:27:00")
if(current.getTime()>expiry.getTime()){
$('#timeout').show();
$('#info').hide();
}
}, 5000);