Interest is calculated on a daily base. 24 hours constitute a day. If the loan duration is Less than 24 hours, it is also regarded as a day.
Borrowers can pay earlier at any time they want. No penalty for early repayment.
Gate.io will take 18% from the interest the lender earned.