Well I seperate them around the age of 40 days, and at that time it is really no Problem to see the difference.
Sometimes I look after the gender when they are about 3-4 Weeks old, when I have people interessted in breeding groups. I could do it earlier, but I see no need for that, because you see the charakter then, and if they might grow to a good size then.