Are these raytraced images?

I've always wondered, how do you do these and how long does it take to make one?