JSFiddle - React, Tailwind, and code Playground by Rahsheen Porter February 18, 2018 JavaScript dt = Date() dt2 = Date() diff = dt2.getTime() - dt.getTime() alert(diff);