At least 24 hours before your flight when they assign pre or the dreaded SSSS status.

that's helpful i've been curious about that