1.1.0 • Published 6 years ago
calculation-interval-month v1.1.0
to get number of range month between date1 and date2
1. num install calculation-interval-month
2. let diffmonth = require('calculation-interval-month')
3. let number = diffmonth('2019-02-01','2019-03-23'); // 1 , so One month apart