Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Date questions
Use this: to_char(sysdate,'DAY')
it returns TUESDAY
> >
> > Hi -
> > Can someone tell me how to just get the day of the week out of a date
in
> > Oracle?
> >
> > For example, is 1/19/98 a 'monday', 'tuesday', 'wednesday', etc.?
> >
> >
> > Laura Bellini
>
> First, to find out what weekday the date is, convert the date using a
>
> format-mask:
>
> to_char(date, 'D')
>
Received on Tue Jan 27 1998 - 00:00:00 CST
![]() |
![]() |