Within the first year. There is a list at the bottom of the article, and there have been studies that have shown some signs appear as early as 3-months.
When my twins were born, I knew pretty quickly that my daughter was different. While her brother was all eye contact and cooing, she was always in her own world. Without a neurotypical sibling, it might have taken much longer to spot.