I'm not sure - I've always assumed that the condition is present from birth.

You could take him to an optometrist to be checked out - the tests for colourblindness are pretty quick and easy, and I'm sure there are special cards for children that have pictures on them instead of numbers.