days-difference
v1.0.1
Published
calculate difference between two dates
Downloads
3
Readme
days-difference
This is asmall package to calculate the difference between two dates in days
Example
const dif = require('days-difference');
console.log(dif(new Date(2022, 2, 22), new Date()));5