removing the days +=1 statements, as it turns out those were only issues caused by the difference between UTC and my timezone