<?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: Can we determine time zone from a US address? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-we-determine-time-zone-from-a-US-address/m-p/631947#M187287</link>
    <description>&lt;P&gt;You may have the SASHELP.ZIPCODE data set. That has Timezone name for the 5 digit Zip code if you have that as part of your address. Or the same data set has most city and town names (not many cross time zones). If you do not have that set you can find it at &lt;A href="https://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html" target="_blank"&gt;https://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html&lt;/A&gt;&amp;nbsp;click on the Current under the Archive to get the link to the newest version. Follow the instructions to import into SAS. It is worth updating this set at least once per year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the ZIP value in the SASHELP.ZIPCODE data set is numeric. So comparisons may need to convert your value if a character zip.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One example:&lt;/P&gt;
&lt;PRE&gt;data have;
   input zip ;
   format zip z5.;
datalines;
00501
31044
;

proc sql;
   create table want as
   select a.*, b.timezone
   from have as a
        left join
        sashelp.zipcode as b
        on a.zip=b.zip;
quit;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2020 16:13:41 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-03-13T16:13:41Z</dc:date>
    <item>
      <title>Can we determine time zone from a US address?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-determine-time-zone-from-a-US-address/m-p/631929#M187276</link>
      <description>&lt;P&gt;Is it possible to determine the time zone given a US address? If anyone has done this would you be willing to share your code?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 15:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-determine-time-zone-from-a-US-address/m-p/631929#M187276</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2020-03-13T15:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we determine time zone from a US address?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-determine-time-zone-from-a-US-address/m-p/631947#M187287</link>
      <description>&lt;P&gt;You may have the SASHELP.ZIPCODE data set. That has Timezone name for the 5 digit Zip code if you have that as part of your address. Or the same data set has most city and town names (not many cross time zones). If you do not have that set you can find it at &lt;A href="https://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html" target="_blank"&gt;https://support.sas.com/rnd/datavisualization/mapsonline/html/misc.html&lt;/A&gt;&amp;nbsp;click on the Current under the Archive to get the link to the newest version. Follow the instructions to import into SAS. It is worth updating this set at least once per year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the ZIP value in the SASHELP.ZIPCODE data set is numeric. So comparisons may need to convert your value if a character zip.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One example:&lt;/P&gt;
&lt;PRE&gt;data have;
   input zip ;
   format zip z5.;
datalines;
00501
31044
;

proc sql;
   create table want as
   select a.*, b.timezone
   from have as a
        left join
        sashelp.zipcode as b
        on a.zip=b.zip;
quit;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 16:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-determine-time-zone-from-a-US-address/m-p/631947#M187287</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-13T16:13:41Z</dc:date>
    </item>
  </channel>
</rss>

