DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: date function

  1. #1
    Join Date
    Apr 2002
    Posts
    135
    How to calculate
    The difference between two dates in Seconds

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    (enddate - startdate)*24*60*60

    endate - statdate = time difference in days

    24*60*60 = 24hours*60minutes*60seconds = seconds in a day
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

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


Click Here to Expand Forum to Full Width