JSFiddle - React, Tailwind, and code Playground JavaScript var dt= new Date(2013,00,01); dt.setDate(dt.getDate() + 45); alert(dt);