So I haven't tried actual UHT; I use 'ultra-pasteurised' organic milk, which is refrigerated, but has a much longer expiry date than you would expect from milk, and you can taste the extra heat treatment. 8 hours works great and gives a thick yoghurt (haven't tried less than that; usually do overnight so around 12 hours). It does tend to get progressively less thick generation after generation. I use a supermarket organic plain yoghurt as a starter (there's a certain ratio of starter yoghurt to milk required - I use 4 Tbsp yoghurt to 1L milk)