JSFiddle - React, Tailwind, and code Playground

by gchoken

JavaScript

var now = new Date("10/31/1988");
current = new Date(now.getFullYear(), now.getMonth()+4, now.getDate());
alert(now);
alert(current);