<?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 How do we convert time zones in in DI Studio in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-we-convert-time-zones-in-in-DI-Studio/m-p/391969#M11914</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;We are using DI Studio 4.902&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;We have source databases which have different system time zones.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;One is&amp;nbsp;America/Los_Angeles, one is&amp;nbsp;America/Chicago&amp;nbsp;and one is&amp;nbsp;America/Anchorage&amp;nbsp;(Local Time)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;To complicate this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;The&amp;nbsp;America/Los_Angeles is an Oracle Database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;The&amp;nbsp;America/Chicago is a SQLServer database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;The&amp;nbsp;America/Anchorage is a MySql database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;What we would like to do is to set the Time Zones to convert to Local time (America/Anchorage) when we extract the data from the source databases so the resultant SAS Datasets all have their DATEn. formats return the Local time without&amp;nbsp;having&amp;nbsp;to do this for each DATE value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;Ideally we'd like to do this as a global setting, or failing that, at least a setting at the job level. Is there a way to do this, or are we going to have to convert each DATEn. variable in the SAS datasets one at a time in the transformations?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2017 18:09:58 GMT</pubDate>
    <dc:creator>gsmith</dc:creator>
    <dc:date>2017-08-30T18:09:58Z</dc:date>
    <item>
      <title>How do we convert time zones in in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-we-convert-time-zones-in-in-DI-Studio/m-p/391969#M11914</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;We are using DI Studio 4.902&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;We have source databases which have different system time zones.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;One is&amp;nbsp;America/Los_Angeles, one is&amp;nbsp;America/Chicago&amp;nbsp;and one is&amp;nbsp;America/Anchorage&amp;nbsp;(Local Time)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;To complicate this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;The&amp;nbsp;America/Los_Angeles is an Oracle Database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;The&amp;nbsp;America/Chicago is a SQLServer database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;The&amp;nbsp;America/Anchorage is a MySql database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;What we would like to do is to set the Time Zones to convert to Local time (America/Anchorage) when we extract the data from the source databases so the resultant SAS Datasets all have their DATEn. formats return the Local time without&amp;nbsp;having&amp;nbsp;to do this for each DATE value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #333333;"&gt;Ideally we'd like to do this as a global setting, or failing that, at least a setting at the job level. Is there a way to do this, or are we going to have to convert each DATEn. variable in the SAS datasets one at a time in the transformations?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 18:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-do-we-convert-time-zones-in-in-DI-Studio/m-p/391969#M11914</guid>
      <dc:creator>gsmith</dc:creator>
      <dc:date>2017-08-30T18:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do we convert time zones in in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-do-we-convert-time-zones-in-in-DI-Studio/m-p/392139#M11917</link>
      <description>I haven't worked with this by myself, so I can't really give any good advice on the strategy. &lt;BR /&gt;&lt;BR /&gt;SAS has a global TIMEZONE option and several functions that you can play with.&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/nlsref/69741/HTML/default/viewer.htm#n0px72paaaqx06n1ozps024j78cl.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/nlsref/69741/HTML/default/viewer.htm#n0px72paaaqx06n1ozps024j78cl.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also check for each RDBMS how SAS/ACCESS handles timestamp with time zones defined&lt;BR /&gt;Here's the reference for Oracle:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p06jk0u30uhuj5n18fqw9sxr25lk.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/69580/HTML/default/viewer.htm#p06jk0u30uhuj5n18fqw9sxr25lk.htm&lt;/A&gt;</description>
      <pubDate>Thu, 31 Aug 2017 10:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-do-we-convert-time-zones-in-in-DI-Studio/m-p/392139#M11917</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-31T10:48:07Z</dc:date>
    </item>
  </channel>
</rss>

