JSFiddle - React, Tailwind, and code Playground

HTML

<label for="tarih">Tarih seçin:</label>
<input type="text" name="tarih" id="tarihSec">

JavaScript

$("#tarihSec").datepicker({
    minDate: -15,
    maxDate: new Date((new Date).getFullYear(), 11, 31),
    changeMonth: true,
    changeYear: true
});