How long did it take to build the Transcontinental Railroad?

1863-may 10th 1869

so 6 years.