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: 1st Day of the Month

Re: 1st Day of the Month

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: 8 Jan 2007 11:46:58 -0800
Message-ID: <1168285618.482307.18120@v33g2000cwv.googlegroups.com>


rios wrote:
> Is there a native function to tell is a date is FIRST day, Last DAY of the
> month ?
>
> other than this way:
> to_number(to_char(sysdate,'dd'))
>
> thanks
>
> --
> 10gR2

There is a function called last_day. Speaking of first day of month, untill now I was under the impression that all months start with 1. Am I missing something? :)

Gints Plivna
http://www.gplivna.eu Received on Mon Jan 08 2007 - 13:46:58 CST

Original text of this message

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