Can I leave the airport during layover?

I might be going from california to eastern europe, and might want to stop at vienna. Could I leave the airport and come back later? Lets assume the layover is 13+ hours. Or what if I selectively choose my layover to be the next day? Could i leave the airport then?
5 answers 5