Hi.
I am using CR XI against an Oracle database connecting via the Oracle driver. Using a formula to convert a string datetime value to a real datetime using :
datetime({MyStringDate})
I am experiencing inconsistent behaviour as follows
Field value Formula output Correct value
10/09/2007 10th Sept 2007 9th Oct 2007
03/25/2007 25th Mar 2007 25th Mar 2007
It seems that by default it is assuming mm/dd/yyy UNLESS it finds a value over 12 as in the second record. Has anyone experienced this inconsistent behaviour as I would expect it to either use mm/dd/yyyy OR dd/mm/yyyy but not switch during the report ?
Many thanks!
ShortyA
I am using CR XI against an Oracle database connecting via the Oracle driver. Using a formula to convert a string datetime value to a real datetime using :
datetime({MyStringDate})
I am experiencing inconsistent behaviour as follows
Field value Formula output Correct value
10/09/2007 10th Sept 2007 9th Oct 2007
03/25/2007 25th Mar 2007 25th Mar 2007
It seems that by default it is assuming mm/dd/yyy UNLESS it finds a value over 12 as in the second record. Has anyone experienced this inconsistent behaviour as I would expect it to either use mm/dd/yyyy OR dd/mm/yyyy but not switch during the report ?
Many thanks!
ShortyA