DBohner-(db)
Legendary Poster
Howdy,
Recently I was asked to debug an issue with Date Localization...
When a user runs a report that uses the function N08000640 (Convert String to Date) and has their date format set to <blank> (according to application P0092) - the report displays the date correctly.
For Example:
User's P0092 Fromat: <blank> (default)
Using: N0800640
Passing in: 01022006 (mmddccyy)
Getting Back: 1/2/2006 (MM/DD/CCYY)
This works GREAT
However - if I change the date format for the user in the P0092 screen it get's 'sad'.
For Example:
User's P0092 Fromat: DMY (european)
Using: N0800640
Passing in: 01022006 (mmddccyy)
Getting Back: 2/1/1920 (DD/MM/CCYY)
This stinks - NOTE - the 1920...
And WORSE - if I passing something with a day greater than 12 (say we are working on January thirteen 2006 (01132006) - it doesn't pass any date back...
For Example:
User's P0092 Fromat: DMY (european)
Using: N08000640
Passing in: 01132006 (mmddccyy)
Getting Back: (DD/MM/CCYY)
I created a routine to remap the string date to be the same as the user's defined format - then run the convert string to date NER... Now all my dates return - but I still get the 1920 years on all returend dates.
For Example:
User's P0092 Fromat: DMY (european)
Using: N08000640
Passing in: 13012006 (mmddccyy)
Getting Back: 13/01/1920 (DD/MM/CCYY)
Short of calling bOrgacle - any of you know what is going on? Is there setup someplace that needed to be acquired?
(db)
Recently I was asked to debug an issue with Date Localization...
When a user runs a report that uses the function N08000640 (Convert String to Date) and has their date format set to <blank> (according to application P0092) - the report displays the date correctly.
For Example:
User's P0092 Fromat: <blank> (default)
Using: N0800640
Passing in: 01022006 (mmddccyy)
Getting Back: 1/2/2006 (MM/DD/CCYY)
This works GREAT
However - if I change the date format for the user in the P0092 screen it get's 'sad'.
For Example:
User's P0092 Fromat: DMY (european)
Using: N0800640
Passing in: 01022006 (mmddccyy)
Getting Back: 2/1/1920 (DD/MM/CCYY)
This stinks - NOTE - the 1920...
And WORSE - if I passing something with a day greater than 12 (say we are working on January thirteen 2006 (01132006) - it doesn't pass any date back...
For Example:
User's P0092 Fromat: DMY (european)
Using: N08000640
Passing in: 01132006 (mmddccyy)
Getting Back: (DD/MM/CCYY)
I created a routine to remap the string date to be the same as the user's defined format - then run the convert string to date NER... Now all my dates return - but I still get the 1920 years on all returend dates.
For Example:
User's P0092 Fromat: DMY (european)
Using: N08000640
Passing in: 13012006 (mmddccyy)
Getting Back: 13/01/1920 (DD/MM/CCYY)
Short of calling bOrgacle - any of you know what is going on? Is there setup someplace that needed to be acquired?
(db)