JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet" />
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>

<input id="date" value="1 Jan 1970">

JavaScript

$('#date').datepicker({
    dateFormat: 'd M yy',
    changeYear: true,
    yearRange: '2012:2022',
    changeMonth: true
});