It was thought that Jesus might have been around 2 at the time when the Magi visited only because of the age group of children that Herod had slaughtered.
That would be a good assumption; since Herod asked, “What time did the star appear?”