Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Date questions
"Laura Bellini" <laura.bellini_at_compaq.com]> writes:
>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.?
>I know SQL Server has a function that allows you to do this - can't seem to
>find it in Oracle.
>Thanks in advance!
>Laura Bellini
>laura_bellini_at_compaq.com
select to_char(sysdate,'day') from dual;
Regards,
Kees.
-- ================ Kees van 't Hoff (Kees.van-t.Hoff_at_cwi.nl) CWI; Amsterdam; The Netherlands. URL: http://www.cwi.nl/~keeshReceived on Tue Jan 20 1998 - 00:00:00 CST
![]() |
![]() |