Mayur  Gujrathi

Mayur Gujrathi

  • 409
  • 3.9k
  • 1m

no of years between dates

Jan 18 2022 7:02 AM

I need to get no of years falling between two dates in a typescript .

for example : Date1 = '13/12/2020' and  Date2 is '01/01/2023'

I want result as 4  


Answers (1)