-5

I want to find the number of years passed since 2017. i jsut need the years not the month of this current year.

sourov
  • 1
  • 3

1 Answers1

0
new Date().getFullYear() - 2017;
Fanto88
  • 68
  • 1
  • 1
  • 8