change all time days calculation