Interest accrues daily, based on the balance available in your account, and is paid monthly on the first calendar day of the following month.
If you close your account at any point in the month, interest accrued up until that point will be paid immediately and no further interest will be accrued.