select to_date('1-dec-2001')- to_date('26-apr-2001') from dual
select to_date (date_field,'YYYY') - to_date(date_field,'YYYY') from dual
select round((to_date('1-dec-2001') - to_date('26-apr-2001') )/365) from dual
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)