JSFiddle - React, Tailwind, and code Playground by sas_sam June 07, 2018 JavaScript console.log(new Date('2018-06-10').getTime() / 1000);