It's calculated on or around the last day of the month, then collected from the available cash in your account(s) about 3 weeks later.
Don't worry about remembering this though, you'll get a reminder every month, a few days before the charges are collected.