function isDateInFuture(date) { return date > Date.now() } console.log(isDateInFuture(new Date("2025-01-01")) //true console.log(isDateInFuture(new Date("2000-03-11")) //false