<?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: Date format on screen (DD-MM-YYYY) in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262830#M3872</link>
    <description>&lt;P&gt;Hi xangadix,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be helpful to see the formula you use in the calculated item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some thoughts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it's a real date value, maybe the local settings can solve your problem. If you have the language in VA set to English, you also get the English formatting for dates and currencies etc. If you set it to Dutch does it change to the required format?&lt;/LI&gt;&lt;LI&gt;If you're using the Format function to create a character string, you can use the replace function to replace the / with a -&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If this doesn't solve it, can you please post more info?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lodewijk&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 08:30:18 GMT</pubDate>
    <dc:creator>Lodewijk</dc:creator>
    <dc:date>2016-04-11T08:30:18Z</dc:date>
    <item>
      <title>Date format on screen (DD-MM-YYYY)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262497#M3864</link>
      <description>&lt;P&gt;In SAS VA I was trying to create a certain date format, but I can't get it to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By creating a calculated field, I can change the date format into DDMMJJJJ, but it shows DD/MM/YYYY and not the Dutch format DD-MM-YYYY.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anyone that can tell me if this can be fixed and if so, how it can be done?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 15:53:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262497#M3864</guid>
      <dc:creator>xangadix</dc:creator>
      <dc:date>2016-04-08T15:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date format on screen (DD-MM-YYYY)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262830#M3872</link>
      <description>&lt;P&gt;Hi xangadix,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be helpful to see the formula you use in the calculated item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some thoughts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it's a real date value, maybe the local settings can solve your problem. If you have the language in VA set to English, you also get the English formatting for dates and currencies etc. If you set it to Dutch does it change to the required format?&lt;/LI&gt;&lt;LI&gt;If you're using the Format function to create a character string, you can use the replace function to replace the / with a -&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If this doesn't solve it, can you please post more info?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lodewijk&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 08:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262830#M3872</guid>
      <dc:creator>Lodewijk</dc:creator>
      <dc:date>2016-04-11T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date format on screen (DD-MM-YYYY)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262837#M3873</link>
      <description>&lt;P&gt;Thanks Lodewijk, I'll give that REPLACE idea a try tomorrow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work out, I'll post more info.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 08:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262837#M3873</guid>
      <dc:creator>xangadix</dc:creator>
      <dc:date>2016-04-11T08:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date format on screen (DD-MM-YYYY)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262844#M3874</link>
      <description>&lt;P&gt;Also be sure to check out this article about using dates in parameters: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Date-parameters-in-SAS-Visual-Analytics/ta-p/233338" target="_self"&gt;Date parameters in SAS Visual Analytics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since there's no option to have a true date in a parameter, you have to use tricks to use numeric and/or character parameters. The article is about these tricks, where the Format, Replace and Parse functions in conjunction with date formats solve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Lodewijk&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>Mon, 11 Apr 2016 09:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/262844#M3874</guid>
      <dc:creator>Lodewijk</dc:creator>
      <dc:date>2016-04-11T09:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date format on screen (DD-MM-YYYY)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/264766#M3941</link>
      <description>&lt;P&gt;It might be a bit unorthodox, but this worked for me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Replace(Replace(Replace(&lt;WBR /&gt;Replace(Replace(Replace(&lt;WBR /&gt;Replace(Replace(Replace(&lt;WBR /&gt;Replace(Replace(Replace(&lt;WBR /&gt;Format('&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;DATE&lt;/FONT&gt;&lt;/STRONG&gt;n[Raw], 'DTDATE9.'), 'JAN', '-01-', _First_), 'FEB', '-02-', _First_), 'MAR', '-03-', _First_), 'APR', '-04-', _First_), 'MAY', '-05-', _First_), 'JUN', '-06-', _First_), 'JUL', '-07-', _First_), 'AUG', '-08-', _First_), 'SEP', '-09-', _First_), 'OCT', '-10-', _First_), 'NOV', '-11-', _First_), 'DEC', '-12-', _First_)&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 11:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-format-on-screen-DD-MM-YYYY/m-p/264766#M3941</guid>
      <dc:creator>xangadix</dc:creator>
      <dc:date>2016-04-19T11:55:07Z</dc:date>
    </item>
  </channel>
</rss>

