If I were to go to the optometrist and got glasses would the glasses come out the same day?

Not usually. Although there are places that do same-day glasses, most places that sell glasses take more time to do so. The time for this is variable but 5-10 days is typical.