JSFiddle - React, Tailwind, and code Playground by praveen_jegan October 01, 2013 JavaScript var date = new Date(); date.setMonth(-10); alert(date);