Below are two images on how the valley formed and the general time period.
This is supplemental to the timeline and focuses on the different stages of Yosemite. It shows what happened to the valley over different stages of time.
This image shoes the time periods when the Sierra Nevada mountains formed. It also shows erosion and how old the types of rock are.