79518117

Date: 2025-03-18 16:38:33
Score: 1.5
Natty:
Report link

We can simplify the proposition of Esteban Filardi with this code :

const oldDate = new Date('July 21, 2001 01:15:23');
const todayDate = new Date();
const oneYear = 1000 * 60 * 60 * 24 * 365;

isPastOneYear = todayDate - oldDate > oneYear;
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ehtomit