Can you catch a sun tan through glass?

Please can some one help us .My husband says that you can catch a sun tan if the sun is shining on you through a window where I say that you can not as the glass breaks down the suns rays. Who is right as we can put an end to this disagreement