<?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: UTC LOCAL Brazil in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894318#M353282</link>
    <description>&lt;P&gt;Value of System&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vvferreira_0-1694710645236.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87980i039ED2E9D15B976D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vvferreira_0-1694710645236.png" alt="vvferreira_0-1694710645236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value in Database&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vvferreira_1-1694710695528.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87981i392445AD609E4B3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vvferreira_1-1694710695528.png" alt="vvferreira_1-1694710695528.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read a table that has already been entered in SAS by another user. I Read the table like this:&lt;/P&gt;&lt;P&gt;DATA TMP_VALUE_COLUMN;&lt;BR /&gt;SET TMP_SCRIPT;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 17:00:25 GMT</pubDate>
    <dc:creator>vvferreira</dc:creator>
    <dc:date>2023-09-14T17:00:25Z</dc:date>
    <item>
      <title>UTC LOCAL Brazil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894291#M353275</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I searched the internet but I didn't find a way to work with UTC Local Brazil...&lt;/P&gt;&lt;P&gt;I have a datetime field that originally in the source it's like 2023-07-31 21:30:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;but in the database SAS 2023-08-01 21:30:00&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to check how I can work with UTC Brasil to resolve this issue.&amp;nbsp;Could you help me please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894291#M353275</guid>
      <dc:creator>vvferreira</dc:creator>
      <dc:date>2023-09-14T15:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: UTC LOCAL Brazil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894297#M353280</link>
      <description>&lt;P&gt;Can you show us some raw values as text before they are read into SAS? Then the value SAS shows after reading?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may help to show the code you used to read the source data as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would expect maybe a few hours as a shift for time zone differences but not and entire 24 hours as shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/447567"&gt;@vvferreira&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I searched the internet but I didn't find a way to work with UTC Local Brazil...&lt;/P&gt;
&lt;P&gt;I have a datetime field that originally in the source it's like 2023-07-31 21:30:00&lt;/P&gt;
&lt;P&gt;&amp;nbsp;but in the database SAS 2023-08-01 21:30:00&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to check how I can work with UTC Brasil to resolve this issue.&amp;nbsp;Could you help me please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 16:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894297#M353280</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-14T16:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: UTC LOCAL Brazil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894318#M353282</link>
      <description>&lt;P&gt;Value of System&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vvferreira_0-1694710645236.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87980i039ED2E9D15B976D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vvferreira_0-1694710645236.png" alt="vvferreira_0-1694710645236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value in Database&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vvferreira_1-1694710695528.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87981i392445AD609E4B3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vvferreira_1-1694710695528.png" alt="vvferreira_1-1694710695528.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read a table that has already been entered in SAS by another user. I Read the table like this:&lt;/P&gt;&lt;P&gt;DATA TMP_VALUE_COLUMN;&lt;BR /&gt;SET TMP_SCRIPT;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 17:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894318#M353282</guid>
      <dc:creator>vvferreira</dc:creator>
      <dc:date>2023-09-14T17:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: UTC LOCAL Brazil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894320#M353284</link>
      <description>&lt;P&gt;Since 31/07 is in no way a complete date and you say you are using a data set created by someone else I think it is time to discuss with that user what the value looked like as text and how that person read the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While a&amp;nbsp; person can read something like 31/07 and &lt;STRONG&gt;assume&lt;/STRONG&gt; it is 31 July none of the default SAS tools will do such. SAS requires the YEAR to be part of the value and will assume the first day of the month when provided only year and month information. Which would most likely to treat 31 as 1931 and yield a day of 1 July 1931 unless you are using a datecutoff value that would treat it as year 2031.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 20:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UTC-LOCAL-Brazil/m-p/894320#M353284</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-14T20:12:45Z</dc:date>
    </item>
  </channel>
</rss>

