JSFiddle - React, Tailwind, and code Playground

JavaScript

var now = new Date();
now.setDate(now.getDate()+14);
alert(now);