I need javascript function which take two parameters(dates) and return total years and months difference
Web Development
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, I need javascript function which take two parameters(dates) and return total years and months difference. Regards Tariq mahmood
-
Hello, I need javascript function which take two parameters(dates) and return total years and months difference. Regards Tariq mahmood
You have to specify more clearly what you want. Do you want the difference in years and months separately, or the difference in month expressed as years and months? Also, should the difference in months be calculated as the difference in whole months between the dates, or only based on the month of the dates. --- b { font-weight: normal; }