i'm not an expert but i think you might be conflating uva and uvb. uvb is the one that goes to zero in winter and near sunrise and sunset, is completely blocked by glass, and requires being near solar noon to have maximum effect (i.e. highest when your shadow is shorter than you). It is also the one that is responsible for vitamin D synthesis.
on the other hand, uva is the one that is still substantial in winter and away from solar noon, goes through glass easily, and can cause sunburns and skin cancer.