Parsing date string with OracleDate.Parse for non-English date

Parsing date string with OracleDate.Parse for non-English date

Postby JacksonC » Wed 11 Nov 2015 07:32

Hi,
I am having a problem trying to parse date string with OracleDate.Parse for formats like DD-MON-YYYY in non-English environment.
For example, with a NLS_DATE_LANGUAGE of "IRISH", Oracle expects 25-BEAL -2006 but OracleDate.Parse can only parse 25-May-2006.

How can I specify the language for OracleDate.Parse to parse multiple different date languages in the same application?
JacksonC
 
Posts: 2
Joined: Wed 11 Nov 2015 07:30

Re: Parsing date string with OracleDate.Parse for non-English date

Postby JacksonC » Wed 11 Nov 2015 07:34

I also tried changing the date language of the object gotten from OracleGlobalization.GetApplicationInfo, then passing it back with SetApplicationInfo to see if it is related but it does not seem to help.
JacksonC
 
Posts: 2
Joined: Wed 11 Nov 2015 07:30

Re: Parsing date string with OracleDate.Parse for non-English date

Postby Shalex » Thu 12 Nov 2015 15:56

OracleDate.Parse doesn't support non English dates at the moment. Please submit your request at http://devart.uservoice.com/forums/225134-devart-general.
Shalex
Devart Team
 
Posts: 7824
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle