📌  相关文章
📜  如何检查表单日期是否在今天之前 javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:16.442000             🧑  作者: Mango

代码示例1
var Startdate = new Date(document.getElementById("Insert ID here").value)
var now = new Date();
if (before < now) {
  // selected date is in the past
}