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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to know day of a date?

Re: How to know day of a date?

From: Jay Hostetter <jmh711_at_d_and_e.com>
Date: 1997/06/10
Message-ID: <339CF4B1.3DB2@d_and_e.com>#1/1

Gang - Feng wrote:
>
> How could I know which date is on which day? I mean given a specific
> date like 1997/01/01, how to get which day it is like Sunday, Monday or
> so on. Thanks a lot.
> Please give me an email because I can't always check this news group.
>
> Gang Feng (mailto:g0f4653_at_cs.tamu.edu)

Use the DAY function (check you SQL reference manual). For example, to see the current day use
select to_char(sysdate,'DAY') from dual;

-- 
****************************************
Jay Hostetter                          *
D. and E. Communications               *
Ephrata, Pa.  U.S.A                    *
Remove underscores in address to reply.*
****************************************
Received on Tue Jun 10 1997 - 00:00:00 CDT

Original text of this message

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