Viewing 4 posts - 1 through 4 (of 4 total)
Here is one example:
DECLARE @Date1 DATETIME, @Date2 DATETIME
SET @Date1 = '2008-05-09 15:59'
SET @Date2 = '2008-05-11 16:32'
SELECT convert(varchar(5),DATEDIFF(minute, @Date1, @Date2)/60) + ':' + convert(varchar(2),datediff(minute, @Date1, @Date2)%60)
Hope this will help you to...
May 12, 2008 at 4:34 am
I also ran all 3 queries for my DOB and 2nd was correct, both 1st and 3rd were wrong.
March 6, 2008 at 6:21 am
Viewing 4 posts - 1 through 4 (of 4 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy