what is the formula of computing the actual number of days?