Unlike Registered Retirement Savings Plans (RRSPs), there’s no time constraints for TFSA contributions.
This is because the money you deposit into your TFSA is taxed on the current year's return, when you withdraw the funds, you don’t have to pay taxes … even if the withdrawal includes interest earned (investment income).