Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Date questions

Re: Date questions

From: Eugen Nyffeler <eugen.nyffeler_at_ubs.com>
Date: 1998/01/20
Message-ID: <34C47551.7B0B5FCF@ubs.com>#1/1

Laura Bellini wrote:
>
> 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.?
>

 <snip>

Hi

Try

  select to_char(sysdate, 'day') from dual;

            or
  select to_char(to_date('01/19/98', 'mm/dd/yy'), 'day') from dual;

rgds
eugen Received on Tue Jan 20 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US