Date Difference

  • I have no problem with that, the more people get active here, the better for all. Just keep in mind quantity != quality.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • Now why would you think that I may try to bullshit people just to post messages???

  • Did I say so?

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • I've learned to read between the lines over the years .

    I'm glad to help on this forum since I consider than over 75% of what I now know comes from here.

    BTW no offense taken.

  • I've learned to read between the lines over the years

    Then you should learn to read closer. No offense intended.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • Frank, you wrote:

    select

     convert(char(8), dateadd( ss ,...

    I tried this (always looking at your smart solutions) but got not the right answer.

    I think it was a slip of the pen and the solution should be (using mi)

    select

     convert(char(8),dateadd(mi,datediff(mi,'2005-05-16 15:02:33.347', '2005-05-17 09:23:30.813') ,0),108)

     

Viewing 6 posts - 16 through 20 (of 20 total)

You must be logged in to reply to this topic. Login to reply