In Toy Story 4, Woody makes the remark to Gabby that he was manufactured in the 50s at his best guess. If this is the case, he’s MUCH older than Andy. T
According to the answers here Why is Buzz the only toy that does not believe he is a toy? a toy starts its existence thinking it is the character it is based on