<?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: convert numeric value to ddmmmyy:hh:mm:ss in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428910#M281458</link>
    <description>&lt;P&gt;Sounds like you are looking for the datetime. format.&lt;/P&gt;
&lt;PRE&gt;data have;
  input datetime;
  format datetime datetime.;
  cards;
1826801215
1826801215
1826801215
1826801215
1826801215
1826801215
1826801215
;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2018 20:00:04 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2018-01-18T20:00:04Z</dc:date>
    <item>
      <title>convert numeric value to ddmmmyy:hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428906#M281457</link>
      <description>&lt;P&gt;The input numeric data comes in the form:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1826801215&lt;BR /&gt;1826801215&lt;BR /&gt;1826801215&lt;BR /&gt;1826801215&lt;BR /&gt;1826801215&lt;BR /&gt;1826801215&lt;BR /&gt;1826801215&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the following code without success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	set have;
	date1 = Input( Put( date1, 10.), yymmdd10.);
	format date1 Date10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 19:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428906#M281457</guid>
      <dc:creator>capam</dc:creator>
      <dc:date>2018-01-18T19:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: convert numeric value to ddmmmyy:hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428910#M281458</link>
      <description>&lt;P&gt;Sounds like you are looking for the datetime. format.&lt;/P&gt;
&lt;PRE&gt;data have;
  input datetime;
  format datetime datetime.;
  cards;
1826801215
1826801215
1826801215
1826801215
1826801215
1826801215
1826801215
;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:00:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428910#M281458</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-01-18T20:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: convert numeric value to ddmmmyy:hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428913#M281459</link>
      <description>&lt;P&gt;is your req to "convert" using put function?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input date ;
datalines;
1826801215
1826801215
1826801215
1826801215
1826801215
1826801215
1826801215
;

data want;
set have;
_date=put(date,datetime.);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-numeric-value-to-ddmmmyy-hh-mm-ss/m-p/428913#M281459</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-01-18T20:20:37Z</dc:date>
    </item>
  </channel>
</rss>

