🌈 搜索
📅  最后修改于: 2022-03-11 15:02:22.060000             🧑  作者: Mango
let diff = moment().diff(new Date('DATE_HERE')) if(div >= 0) { //Current date or past date } else { //Future date }