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

Thread: DATE DIFFERENCE

  1. #1
    Join Date
    Sep 2000
    Posts
    305
    HI FRIENDS
    CAN ANYBODY WILL TELL ME HOW TO FIND DIFFERENCE BETWEEN TWO DATES IN NO OF HOURS?

    THIS IS URGENT

    THANKS IN ADVANCE

  2. #2
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    (Date1-Date2)*24

  3. #3
    Join Date
    May 2001
    Location
    San Francisco, California
    Posts
    511
    That plus the actual no of hours difference. You can use to_number(to_char(sysdate, 'HH24')) etc., to the find the difference in hours.
    Remember the Golden Rule - He who has the gold makes the rules!
    ===================
    Kris109
    Ph.D., OCP 8i, 9i, 10g, 11g DBA

  4. #4
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287

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