<?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: SAS double to date conversion help please in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870365#M343775</link>
    <description>&lt;P&gt;If you have numeric variable with DATETIME values (number of seconds) you can convert them to DATE values (number of days) by using the DATEPART() function.&amp;nbsp; But you probably need to do that BEFORE you load the dataset into VIYA.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 13:57:12 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-04-18T13:57:12Z</dc:date>
    <item>
      <title>SAS double to date conversion help please</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870363#M343773</link>
      <description>&lt;P&gt;We use SAS Viya. I need to convert&amp;nbsp; variables that are double type and datetime format. To give an example&amp;nbsp;&lt;SPAN&gt; 29JAN2017:00:00:00.000000. I want to convert this just 29JAN2017 in order to make comparison between dates. I tried different types of conversion such as string and after that date but i got errors. If i can convert it to string i will sue substr function or trim. But as i said i could not do anything. Can you help me?&lt;BR /&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 13:52:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870363#M343773</guid>
      <dc:creator>Furkanisik</dc:creator>
      <dc:date>2023-04-18T13:52:10Z</dc:date>
    </item>
    <item>
      <title>Help me to variable type convertion double to date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870362#M343793</link>
      <description>&lt;P&gt;We use SAS Viya. I need to convert&amp;nbsp; variables that are double type and datetime format. To give an example&amp;nbsp;&lt;SPAN&gt; 29JAN2017:00:00:00.000000. I want to convert this just 29JAN2017 in order to make comparison between dates. I tried different types of conversion such as string and after that date but i got errors. If i can convert it to string i will sue substr function or trim. But as i said i could not do anything. Can you help me?&lt;BR /&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 13:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870362#M343793</guid>
      <dc:creator>Furkanisik</dc:creator>
      <dc:date>2023-04-18T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS double to date conversion help please</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870365#M343775</link>
      <description>&lt;P&gt;If you have numeric variable with DATETIME values (number of seconds) you can convert them to DATE values (number of days) by using the DATEPART() function.&amp;nbsp; But you probably need to do that BEFORE you load the dataset into VIYA.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 13:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870365#M343775</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-04-18T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help me to variable type convertion double to date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870434#M343794</link>
      <description>&lt;P&gt;Please do not post the same question multiple times.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 20:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-double-to-date-conversion-help-please/m-p/870434#M343794</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-04-18T20:09:01Z</dc:date>
    </item>
  </channel>
</rss>

