getDaysBetween = (validFrom, validTo) =>
    Math.round(Math.abs(+validFrom - +validTo) / 8.64e7)
Get number of days between two dates
@param {Date} validFrom Start date
@param {Date} validTo End date
@returns {number} Number of days