﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by wfvdijk  / Convert seconds to a timestring / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 01:23:13 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Convert seconds to a timestring</title><link>http://www.sqlservercentral.com/Forums/Topic913275-1009-1.aspx</link><description>[quote][b]Wilfred van Dijk (5/5/2010)[/b][hr]WOW! :w00t::w00t: that was an easy one! Sometimes you're working on a solution which can be replaced by a very few lines ( I feel stupid :ermm::ermm::ermm: )Have a drink from me![/quote]Thanks for the feedback, glad to have contributed something useful.Now,  about that drink ...  :-)</description><pubDate>Thu, 06 May 2010 02:33:46 GMT</pubDate><dc:creator>nigel.</dc:creator></item><item><title>RE: Convert seconds to a timestring</title><link>http://www.sqlservercentral.com/Forums/Topic913275-1009-1.aspx</link><description>[quote][b]robshobs (5/5/2010)[/b][hr]Keep in mind that this only works up to 23:59:59.  Anything greater than or equal to 24 hours (86,400 seconds) will not work.  I have reports were we show some records with more than 24 hours and had to write a custom function.[/quote]Excellent point, thanks.</description><pubDate>Thu, 06 May 2010 02:30:04 GMT</pubDate><dc:creator>nigel.</dc:creator></item><item><title>RE: Convert seconds to a timestring</title><link>http://www.sqlservercentral.com/Forums/Topic913275-1009-1.aspx</link><description>Keep in mind that this only works up to 23:59:59.  Anything greater than or equal to 24 hours (86,400 seconds) will not work.  I have reports were we show some records with more than 24 hours and had to write a custom function.</description><pubDate>Wed, 05 May 2010 13:04:33 GMT</pubDate><dc:creator>robshobs</dc:creator></item><item><title>RE: Convert seconds to a timestring</title><link>http://www.sqlservercentral.com/Forums/Topic913275-1009-1.aspx</link><description>WOW! :w00t::w00t: that was an easy one! Sometimes you're working on a solution which can be replaced by a very few lines ( I feel stupid :ermm::ermm::ermm: )Have a drink from me!</description><pubDate>Wed, 05 May 2010 09:06:25 GMT</pubDate><dc:creator>Wilfred van Dijk</dc:creator></item><item><title>RE: Convert seconds to a timestring</title><link>http://www.sqlservercentral.com/Forums/Topic913275-1009-1.aspx</link><description>An alternative, using DATEADD and CONVERT[code="sql"]select CONVERT (varchar(8),DATEADD(second,@duration,0),114)[/code]</description><pubDate>Wed, 05 May 2010 08:31:28 GMT</pubDate><dc:creator>nigel.</dc:creator></item><item><title>Convert seconds to a timestring</title><link>http://www.sqlservercentral.com/Forums/Topic913275-1009-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/T-SQL/70134/"&gt;Convert seconds to a timestring&lt;/A&gt;[/B]</description><pubDate>Thu, 29 Apr 2010 14:39:41 GMT</pubDate><dc:creator>Wilfred van Dijk</dc:creator></item></channel></rss>