JSFiddle - React, Tailwind, and code Playground

by jeetu_verma11

HTML

<input type="text" size="10" value="" id="datepicker1"/>

JavaScript

$(function() {
    $("#datepicker1").datepicker({
        dateFormat: "yy-mm-dd"
    }).datepicker("setDate", "0");
});