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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: date format ?

Re: date format ?

From: David A. Barbour <dbarbour_at_nucentrix.net>
Date: Sun, 29 Apr 2001 17:28:57 -0700
Message-ID: <F001.002F5267.20010429171519@fatcity.com>

Mohammed,

Just off the top of my head, I don't think this will work unless you bring the day, month and year in separately. At first glance I thought perhaps if you took the length of the date string (less than 6 or more than eight you've got an error), backed out the last four as the year - so far so good, but the day/month is a problem. How would you evaluate '212' - as 2 December or 21 February?

Regards,

David A. Barbour
Oracle DBA, OCP

MOHAMMAD AMER wrote:
>
> hi oracle gurus,
> my client is very weird,he wants to enter the date in the format 'dd-mm-yyyy'
> without pressing space instead of delimiters,e.g. he presses
> '991999' and wants oracle to change it to '09-09-1999' .!!!
> Can I do it for him?
> If anyone knows how,I'll be very grateful.
>
> stucked with date formats
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: MOHAMMAD AMER
> INET: mohammad_amer_at_usa.net
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: David A. Barbour
  INET: dbarbour_at_nucentrix.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Apr 29 2001 - 19:28:57 CDT

Original text of this message

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