JSFiddle - React, Tailwind, and code Playground JavaScript var value = "02Apr2014"; var date = new Date(value); alert(date.getTime())