<input data-id="tarih" type="date" name="sahisInputName" class="bofcerceve form-control" max="9999-12-12" />
var dt = new Date();
var suankiTarih = dt.getFullYear() + "-" + ('0' + (dt.getMonth() + 1)).slice(-2) + "-" + ('0' + (dt.getDate() + 0)).slice(-2);


$("[data-id='tarih']").attr("min", suankiTarih);

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js