Date formatting Issue in CSV Export
Posted: Fri Mar 22, 2024 11:58 am
Hi,
I am trying the export the CSV from the report and the report contains some date fields. I need to format those dates in "yyyy-MM-dd" format. It works fine while viewing in the report but when I generate the CSV file, it is displayed in "MM/dd/yyyy" format. I need to show it in "yyyy-MM-dd" format while export it from the code. How can I fix that?
I am trying the export the CSV from the report and the report contains some date fields. I need to format those dates in "yyyy-MM-dd" format. It works fine while viewing in the report but when I generate the CSV file, it is displayed in "MM/dd/yyyy" format. I need to show it in "yyyy-MM-dd" format while export it from the code. How can I fix that?