Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    1

    Unanswered: How to convert Seconds to DD:HH:MM:SS

    Hello every one I have a column in my table which stores seconds.
    I want to convert the value into Days:Hours:Minutesecons(DD:HH:MMS) format.
    Can anybody please tell me how to do that.

    The value of seconds wil be large (eg. 16798563,..and so on) SO how to I convert this value to the format I need.

    URGENT PLZ
    Regards
    Mohsin Iqbal

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    dateadd(second, [YourSeconds], [YourBaseDate])
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •