<?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: Converting $27 to datetime format in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596258#M15920</link>
    <description>&lt;P&gt;Do you really have datatime values with different time zones than GMT?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so do you need the values adjusted so that they are synchronized to a single time zone?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 13:11:34 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-10-14T13:11:34Z</dc:date>
    <item>
      <title>Converting $27 to datetime format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596118#M15903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a large dataset where the dates are in format '$27' and displayed like '&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;2018-09-01 14:21:51:333 GMT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;'. I need to convert this to datetime13 or datetime18. What would be the best way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help given!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 21:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596118#M15903</guid>
      <dc:creator>JackoNewbie</dc:creator>
      <dc:date>2019-10-13T21:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Converting $27 to datetime format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596119#M15904</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data want;
have='2018-09-01 14:21:51:333 GMT';
want=input(have,  ymddttm19.);
format want datetime20.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 13 Oct 2019 22:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596119#M15904</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-10-13T22:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Converting $27 to datetime format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596193#M15915</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/277136"&gt;@JackoNewbie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a large dataset where the dates are in format '$27' and displayed like '&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;2018-09-01 14:21:51:333 GMT&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;'. I need to convert this to datetime13 or datetime18. What would be the best way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help given!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you can, fix the creation of that datasets, so that a proper datetime-variable is created. There is hardly any good reason for storing datetimes as strings at all.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 09:38:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596193#M15915</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-10-14T09:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converting $27 to datetime format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596258#M15920</link>
      <description>&lt;P&gt;Do you really have datatime values with different time zones than GMT?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so do you need the values adjusted so that they are synchronized to a single time zone?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 13:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/596258#M15920</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-14T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Converting $27 to datetime format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/597993#M16232</link>
      <description>&lt;P&gt;This worked &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2019 19:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Converting-27-to-datetime-format/m-p/597993#M16232</guid>
      <dc:creator>JackoNewbie</dc:creator>
      <dc:date>2019-10-20T19:08:42Z</dc:date>
    </item>
  </channel>
</rss>

