<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: yyyy-mm-dd date format is lost when exporting into csv file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/yyyy-mm-dd-date-format-is-lost-when-exporting-into-csv-file/m-p/802927#M316133</link>
    <description>&lt;P&gt;If you opened the file with Excel, Excel will apply its own format.&lt;/P&gt;
&lt;P&gt;ALWAYS (as in&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;&lt;/U&gt;) inspect csv files with a text editor.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Mar 2022 17:16:00 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-03-19T17:16:00Z</dc:date>
    <item>
      <title>yyyy-mm-dd date format is lost when exporting into csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/yyyy-mm-dd-date-format-is-lost-when-exporting-into-csv-file/m-p/802925#M316132</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to export a SAS data set into a CSV file using the proc export data step. The date format in the SAS data is yyyy-mm-dd. But in the CSV file it is getting converted into mm/dd/yyyy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the format statement YYMMDDd10.,&amp;nbsp;YYMMDD10., and even tried creating a new variable. But nothing is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me find the solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 17:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/yyyy-mm-dd-date-format-is-lost-when-exporting-into-csv-file/m-p/802925#M316132</guid>
      <dc:creator>Likhitha3</dc:creator>
      <dc:date>2022-03-19T17:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: yyyy-mm-dd date format is lost when exporting into csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/yyyy-mm-dd-date-format-is-lost-when-exporting-into-csv-file/m-p/802927#M316133</link>
      <description>&lt;P&gt;If you opened the file with Excel, Excel will apply its own format.&lt;/P&gt;
&lt;P&gt;ALWAYS (as in&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;&lt;/U&gt;) inspect csv files with a text editor.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 17:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/yyyy-mm-dd-date-format-is-lost-when-exporting-into-csv-file/m-p/802927#M316133</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-19T17:16:00Z</dc:date>
    </item>
  </channel>
</rss>

