Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timespan
Message
 
 
To
06/06/2006 16:27:35
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01127202
Message ID:
01127495
Views:
9
DECLARE @secs int
SET @secs = 6*60*60 + 9*60 + 02
select CONVERT(varchar(10), dateadd(ss, @secs, 0) , 108) 
>DATEDIFF worked perfectly, thank you. Is there a way to show it as 0:09:02 to show 9 minutes and 2 seconds difference? I looked at the CONVERT function and it doesn't seem to do what I want it to.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform