<?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 DDMMYY6. date format in SAS Viya Report in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614380#M494</link>
    <description>&lt;P&gt;I have one date variable in sas viya report and currently it has default format date9.&lt;/P&gt;&lt;P&gt;I want to show that same variable in DDMMYY6. format (proper date format).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, if the date is 30Dec2019 then it should look like 30122019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using parse function and giving required format but the result is in character format and which is not required in my case, since I want to use that variable in bar graph and proper sorting is not possible in character variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance !!!&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 12:32:24 GMT</pubDate>
    <dc:creator>toshi</dc:creator>
    <dc:date>2019-12-30T12:32:24Z</dc:date>
    <item>
      <title>DDMMYY6. date format in SAS Viya Report</title>
      <link>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614380#M494</link>
      <description>&lt;P&gt;I have one date variable in sas viya report and currently it has default format date9.&lt;/P&gt;&lt;P&gt;I want to show that same variable in DDMMYY6. format (proper date format).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, if the date is 30Dec2019 then it should look like 30122019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using parse function and giving required format but the result is in character format and which is not required in my case, since I want to use that variable in bar graph and proper sorting is not possible in character variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance !!!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 12:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614380#M494</guid>
      <dc:creator>toshi</dc:creator>
      <dc:date>2019-12-30T12:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: DDMMYY6. date format in SAS Viya Report</title>
      <link>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614404#M495</link>
      <description>&lt;P&gt;Parsing is not necessary. Just change the format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format variablename ddmmyy6.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Dec 2019 15:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614404#M495</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-30T15:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: DDMMYY6. date format in SAS Viya Report</title>
      <link>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614645#M496</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already tried same, but still the format is not there. If try to apply the format DDMMYY6. then its giving character variable as a result.&lt;/P&gt;&lt;P&gt;I want variable in proper date format (DDMMYY6.) so that it can be sorted properly in bar chart or line chart.&lt;/P&gt;&lt;P&gt;Please refer the&amp;nbsp; following screenshots:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35099i30210996B73BCE49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="image.png" style="width: 392px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35100iBC45BD3750F774FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 07:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614645#M496</guid>
      <dc:creator>toshi</dc:creator>
      <dc:date>2020-01-01T07:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: DDMMYY6. date format in SAS Viya Report</title>
      <link>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614664#M497</link>
      <description>&lt;P&gt;I'm afraid I don't understand. Changing a format on a numeric variable will result in a numeric variable yet you say it is giving a character variable. This means the variable is not numeric, it is character. SHOW US what you see and why you think the variable is numeric and why you think the result is character. SHOW US.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DDMMYYYY format is shown in the screen capture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your variable is really numeric, then it should sort in proper date order without parsing and without a need to change the format.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 15:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/DDMMYY6-date-format-in-SAS-Viya-Report/m-p/614664#M497</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-01T15:08:30Z</dc:date>
    </item>
  </channel>
</rss>

