If the loan is made at the beginning of the year, the interest amount should be calculated on an annual basis. If the loan is made at the end of the year, the interest amount will be zero and included in the next year. If the loan is made on June 30th in the middle of the year, the interest is calculated as half a year, so it is divided by 2.