Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
declare @x int
set @x = 100019 --you want to return 00010
select @x/3600 as hours, (@x - ((@x/3600)*3600))/60 as minutes, (@x - ((@x/3600)*3600) - ((@x - ((@x/3600)*3600))/60)*60) as seconds
[Blue]DECLARE[/Blue] @Duration [Blue]AS[/Blue] [Blue]int[/Blue]
[Blue]SET[/Blue] @Duration[Gray]=[/Gray]12345
[Blue]SELECT[/Blue] [Fuchsia]DateAdd[/Fuchsia][Gray]([/Gray][blue]Second[/blue][Gray],[/Gray]@Duration[Gray],[/Gray]0[Gray])[/Gray]