JSFiddle - React, Tailwind, and code Playground

HTML

<input type=date value="1987-01-01">

JavaScript

$("body").append("<p>Date is " + $("input").val());