<?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: Julian to YYYY-DD-MM in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115566#M23808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the function datejul() which converts julian date to a sas date value and then used the format yymmdd10.&amp;nbsp; Need to check if there is format for yyddmm. Else we need to separate the month and day from the date and then concatenate them into yyddmm. if there is any other way , would like to know it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data t;&lt;/P&gt;&lt;P&gt;t=2013231;&lt;/P&gt;&lt;P&gt;t2=2013224;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_=DATEJUL(t);&lt;/P&gt;&lt;P&gt;t2_=DATEJUL(t2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format t_ t2_&amp;nbsp; yymmdd10.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 05:12:38 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2013-08-20T05:12:38Z</dc:date>
    <item>
      <title>Julian to YYYY-DD-MM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115564#M23806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to convert Julian date to YYYY-DD-MM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data t;&lt;/P&gt;&lt;P&gt; t=2013231;&lt;/P&gt;&lt;P&gt; t2=2013224;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 03:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115564#M23806</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2013-08-20T03:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Julian to YYYY-DD-MM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115565#M23807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can convert a Julian date to a SAS date value with the DATEJUL function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data t;&lt;/P&gt;&lt;P&gt;format date1 date2 yymmdd10.;&lt;/P&gt;&lt;P&gt;t=2013231;&lt;/P&gt;&lt;P&gt;t2=2013224;&lt;/P&gt;&lt;P&gt;date1=datejul(t);&lt;/P&gt;&lt;P&gt;date2=dateful(t2);&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 05:11:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115565#M23807</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2013-08-20T05:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Julian to YYYY-DD-MM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115566#M23808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the function datejul() which converts julian date to a sas date value and then used the format yymmdd10.&amp;nbsp; Need to check if there is format for yyddmm. Else we need to separate the month and day from the date and then concatenate them into yyddmm. if there is any other way , would like to know it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data t;&lt;/P&gt;&lt;P&gt;t=2013231;&lt;/P&gt;&lt;P&gt;t2=2013224;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_=DATEJUL(t);&lt;/P&gt;&lt;P&gt;t2_=DATEJUL(t2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format t_ t2_&amp;nbsp; yymmdd10.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 05:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Julian-to-YYYY-DD-MM/m-p/115566#M23808</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-08-20T05:12:38Z</dc:date>
    </item>
  </channel>
</rss>

