calculates according to days, ignore hours