2 lines
141 B
JavaScript
2 lines
141 B
JavaScript
document.getElementById("my-date").min = new Date().getFullYear() + "-" + parseInt(new Date().getMonth() + 1 ) + "-" + new Date().getDate()
|