Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
date format is changing while opening CSV report into Excel
ashish13
<p>Hi,</p>
<p> </p>
<p> I am using BIRT 2.2.2 and csv emitter for generating csv report. i am setting the date into String into BIRT design and format i am setting as "yyyy-mm-dd" using query and in query converting the same as String. When i am opening the report in Textpad, the date is coming in correct format, but when opening in excel the date is coming in dd/mm/yyyy format.</p>
<p> </p>
<p>Let us know, if i need to update something in design to get the date in yyyy-mm-dd format while opening csv report in excel.</p>
<p> </p>
<p>Thanks in advance,</p>
<p> </p>
<p>Ashish</p>
Find more posts tagged with
Comments
GLO_FR
<p>This is normal.</p>
<p> </p>
<p>When you open a CSV file into Excel, Excel wil try to find dynamically the format of each field. W<span style="font-size:14px;">hen it finds something which looks like a date, it apply its default locale.</span></p>
<p> </p>
<p>It means, if your default locale in Excel is dd/mmm/yyyy, and you've a csv filed like yyyy-mm-dd, you'll always have and <span style="font-size:13.63636302948px;">dd/mmm/yyyy</span> in Excel.</p>