How To Calculate The Difference Between Two Dates

How To Calculate The Difference Between Two Dates


  • 29 Jan, 2012

    If you have two dates, and you want to know how many days between them, you can use the DATEDIFF(date1, date2) function as shown below:SELECT DATEDIFF(DATE('1997-02-28'), DATE('1997-03-01')) FROM DUAL; -1

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.