Posted: Tue Aug 05, 2008 5:48 am Post subject: convert seconds to hours, minutes and seconds
Partisan
Joined: 09 Aug 2001 Posts: 332
Very long day here... can anybody put me on the correct path to convert
DECLARE iSeconds INTEGER
to a string that will look like hh:mm:ss
so, if iSeconds = 62 then my answer should be '00:01:02'
I've tried several combinations with INTERVAL and CAST....no go.
Thanks _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum