JSFiddle - React, Tailwind, and code Playground
by borisjavier
HTML
<div id="s">
</div>
JavaScript
const o = parseInt((new Date('2012.08.10').getTime() / 1000).toFixed(0))
document.getElementById('s').innerHTML = o;
by borisjavier
<div id="s">
</div>
const o = parseInt((new Date('2012.08.10').getTime() / 1000).toFixed(0))
document.getElementById('s').innerHTML = o;