Anywhere from 2 hours plus but I would make sure that you do it within the first 2 hours before your flight to be on the safe side .
Agreed with the other answer as well. If you want to check it way in advance, I would call your airline to confirm you can do that.
Thanks! Your answer is awaiting moderation.