Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: [PL/SQL} NUMBER of DAY function exist ?
Eric D
>
> Hi everyone
>
> Thank a lot for that.
>
> I have a other question.
>
> I would like to built a function that give me the number of day between your
> date and today.
> It could be a negative day also. But it's not possible to have the real
> number of day on this topic.
>
> DAY_NUM := (SYSDATE - MY_DATE) / (60 * 60 *24)
>
> How do you do ?
>
> Pierre
number_of_days := abs ( my_date - sysdate ); --
"Some days you're the pigeon, and some days you're the statue." Received on Thu Jan 13 2000 - 04:45:23 CST
![]() |
![]() |