1.0.1 • Published 3 years ago
days-difference v1.0.1
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
const dif = require('days-difference');
console.log(dif(new Date(2022, 2, 22), new Date()));5