I have a value in seconds as an int that I want to convert into hours minutes and seconds in the format hh:mm:ss. Any ideas on how to do this without writing something to calculate the hours and minutes individually? It has to work on SQL 7 and 2000. Ta very muchly for any help in this as it is Friday, it's late and my brain has stopped working.