Focal Point
[CLOSED]DATE format in csv report

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2727070386

July 11, 2016, 07:49 AM
Shankar
[CLOSED]DATE format in csv report
Hi,
I want to display a date value in YYYY-MM-DD format in a csv template. I used SQL passthrough where I formatted the date fields values in YYYY-MM-DD format and trying to display in the report.
In excel it is working fine but when i display it in csv, the date values are shown in dd/mm/yyyy format.
Can anyone suggest how to display it in YYYY-MM-DD format in a csv report.

Many Thanks.

This message has been edited. Last edited by: <Emily McAllister>,


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
July 11, 2016, 07:54 AM
MartinY
Since that is for a CSV file, have you tried to have it converted as a text instead of a date ?

You can use
newdate /A10 = FPRINT(<yourdate>, '<yourdatefmt>, 'A10');



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007