const date = new Date ('2023-01-01 00:00:00'); const today = Date.now() if (today > date) alert ('Уже прошло')