<?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: How to convert date from this format 25/09/2019 to 01/09/2019 in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597860#M13231</link>
    <description>&lt;P&gt;Wow! It works! thank you so much!&lt;/P&gt;</description>
    <pubDate>Sat, 19 Oct 2019 00:37:22 GMT</pubDate>
    <dc:creator>Lena2017</dc:creator>
    <dc:date>2019-10-19T00:37:22Z</dc:date>
    <item>
      <title>How to convert date from this format 25/09/2019 to 01/09/2019</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597317#M13222</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if there a way to convert a date from 25/09/2019 to 01/09/2019 in SAS Viya without writing an actual code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597317#M13222</guid>
      <dc:creator>Lena2017</dc:creator>
      <dc:date>2019-10-17T13:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date from this format 25/09/2019 to 01/09/2019</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597591#M13227</link>
      <description>&lt;P&gt;This is more than just displaying a value differently. You seem to want to align datetime values to the beginning of the month.&lt;/P&gt;
&lt;P&gt;You could either use a format that only returns the month &amp;amp; year (with VA joining/aggregating using the formatted values) or you could create a calculated column and there use a function like intnx().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...and please take whatever I write about Viya with a grain of salt. I'm still getting up-to-speed with it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 02:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597591#M13227</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-10-18T02:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date from this format 25/09/2019 to 01/09/2019</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597665#M13228</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;If I understand you correct you want to get the first day of the month for a date, if so you can use the following formula:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DateFromMDY(Month('Date'n), 1, Year('Date'n))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change 'Date'n to your date variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also click the formula using the formula editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You do this by creating a new calculated item &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 10:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597665#M13228</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2019-10-18T10:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date from this format 25/09/2019 to 01/09/2019</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597860#M13231</link>
      <description>&lt;P&gt;Wow! It works! thank you so much!&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2019 00:37:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-convert-date-from-this-format-25-09-2019-to-01-09-2019/m-p/597860#M13231</guid>
      <dc:creator>Lena2017</dc:creator>
      <dc:date>2019-10-19T00:37:22Z</dc:date>
    </item>
  </channel>
</rss>

