Cognos Date formatting issue in csv format
Environment:
Cognos 10.2.2
Database: Oracle
Issue:
When report is run in html or excel 2007 format, dates appear to be fine whereas when run in Excel 2007 data or csv format, date appears to be in time stamp format.
Cause & Resolution:
Oracle dates are interpreted as Time Stamp in Cognos. You need to cast them at model or report level to date.
On layout, date formatting was applied hence Date format appeared fine on Excel 2007 and HTML ouptuts.
Cognos 10.2.2
Database: Oracle
Issue:
When report is run in html or excel 2007 format, dates appear to be fine whereas when run in Excel 2007 data or csv format, date appears to be in time stamp format.
Cause & Resolution:
Oracle dates are interpreted as Time Stamp in Cognos. You need to cast them at model or report level to date.
On layout, date formatting was applied hence Date format appeared fine on Excel 2007 and HTML ouptuts.