Questions

days between dates in PL/SQL

+
0 Votes
Locked

days between dates in PL/SQL

john.a.wills
I have this condition in my code:
months_between (sysdate, TBLastTestDate) > 2
but I really want to count days, not months, and PL/SQL seems not to have a days_between function. What blindingly simple technique am I overlooking?