JSFiddle - React, Tailwind, and code Playground by Chan Wu December 22, 2015 JavaScript var string = '2015-12-12 23:25'; alert(Date.parse(string));