# Generalised arcsine law of brownian motion

It is well known that for a standard brownian motion, the time spent above $0$ follows an arcsine distribution (whose density function is U-shaped). Can anyone tell me how to generalise this result to 'time spent above $x$'?

I imagine it is some beta distribution (given that the arcsine distribution is a special case), but I'm not sure how to prove it.