dbTalk Databases Forums  

Date Formats

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Date Formats in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mtek
 
Posts: n/a

Default Date Formats - 05-13-2008 , 12:43 PM






Hi,

Here is the date format coming in on the input file: Apr 7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? I'll be using this in an external table setting...

TO_DATE(Apr 7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!

Reply With Quote
  #2  
Old   
Urs Metzger
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 12:54 PM






Mtek schrieb:
Quote:
Hi,

Here is the date format coming in on the input file: Apr 7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? I'll be using this in an external table setting...

TO_DATE(Apr 7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!
TO_DATE('Apr 7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger


Reply With Quote
  #3  
Old   
Urs Metzger
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 12:54 PM



Mtek schrieb:
Quote:
Hi,

Here is the date format coming in on the input file: Apr 7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? I'll be using this in an external table setting...

TO_DATE(Apr 7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!
TO_DATE('Apr 7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger


Reply With Quote
  #4  
Old   
Urs Metzger
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 12:54 PM



Mtek schrieb:
Quote:
Hi,

Here is the date format coming in on the input file: Apr 7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? I'll be using this in an external table setting...

TO_DATE(Apr 7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!
TO_DATE('Apr 7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger


Reply With Quote
  #5  
Old   
Urs Metzger
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 12:54 PM



Mtek schrieb:
Quote:
Hi,

Here is the date format coming in on the input file: Apr 7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? I'll be using this in an external table setting...

TO_DATE(Apr 7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!
TO_DATE('Apr 7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger


Reply With Quote
  #6  
Old   
Mtek
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 01:50 PM



On May 13, 12:54*pm, Urs Metzger <u... (AT) ursmetzger (DOT) de> wrote:
Quote:
Mtek schrieb:> Hi,

Here is the date format coming in on the input file: * Apr *7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? *I'll be using this in an external table setting...

TO_DATE(Apr *7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!

TO_DATE('Apr *7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger

Thank you very much.



Reply With Quote
  #7  
Old   
Mtek
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 01:50 PM



On May 13, 12:54*pm, Urs Metzger <u... (AT) ursmetzger (DOT) de> wrote:
Quote:
Mtek schrieb:> Hi,

Here is the date format coming in on the input file: * Apr *7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? *I'll be using this in an external table setting...

TO_DATE(Apr *7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!

TO_DATE('Apr *7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger

Thank you very much.



Reply With Quote
  #8  
Old   
Mtek
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 01:50 PM



On May 13, 12:54*pm, Urs Metzger <u... (AT) ursmetzger (DOT) de> wrote:
Quote:
Mtek schrieb:> Hi,

Here is the date format coming in on the input file: * Apr *7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? *I'll be using this in an external table setting...

TO_DATE(Apr *7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!

TO_DATE('Apr *7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger

Thank you very much.



Reply With Quote
  #9  
Old   
Mtek
 
Posts: n/a

Default Re: Date Formats - 05-13-2008 , 01:50 PM



On May 13, 12:54*pm, Urs Metzger <u... (AT) ursmetzger (DOT) de> wrote:
Quote:
Mtek schrieb:> Hi,

Here is the date format coming in on the input file: * Apr *7 2009
12:00AM

So, if the AM / PM is coded there, how can I put that into the format
string? *I'll be using this in an external table setting...

TO_DATE(Apr *7 2009 12:00AM,'Mon DD YYYY HH12:MI..........

Thanks!

TO_DATE('Apr *7 2009 12:00AM' ,'Mon DD YYYY HH12:MIPM')

hth,
Urs Metzger

Thank you very much.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.