<?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: ConvertTimetoLocal help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42413#M604307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H. Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add the shift patterns and interval match the local start and end times but something is not right. could you possibly direct me please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2018 11:20:43 GMT</pubDate>
    <dc:creator>qlikmpate0</dc:creator>
    <dc:date>2018-06-22T11:20:43Z</dc:date>
    <item>
      <title>ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42407#M604299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table which displays different pick and pack times for individual operators for three different warehouses.&lt;/P&gt;&lt;P&gt;All times are in CET time. I would like to convert the time to the local time depending on which warehouse ie 001 - Kaiserslautern stays as CET, no change,&amp;nbsp; 002 - Telford to GMT and &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;003 - Morroco to Casablanca&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the statement &lt;/P&gt;&lt;P&gt;If (WM_Direct_Productivity_Tracking.COMPANY='003',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConvertToLocalTime(Timestamp(Time(WM_Direct_Productivity_Tracking.END_TIME),'Casablanca'))&lt;/P&gt;&lt;P&gt;I'm trying to convert several time stamps eg Creation timestamp, begin and end timestamps, but can't get my head around the If statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my document is that helps.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Mina Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 11:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42407#M604299</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-06-18T11:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42408#M604300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Company='003,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your convert for Casablanca,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Company = '002',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your convert for GMT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your convert for CET))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 13:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42408#M604300</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-06-18T13:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42409#M604301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks M W, I can get it to work for one field but how do I incorporate the other fields too.&lt;/P&gt;&lt;P&gt;eg begin and end time?&lt;/P&gt;&lt;P&gt;should I be doing a preceding load first?&lt;/P&gt;&lt;P&gt;sorry not getting it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 11:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42409#M604301</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-06-19T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42410#M604302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_305191_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205669_QlikCommunity_Thread_305191_Pic1.JPG" style="height: 135px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15294535940255752" jivemacro_uid="_15294535940255752"&gt;
&lt;P&gt;mapWarehouseTimeZone:&lt;/P&gt;
&lt;P&gt;Mapping&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;Warehouse, TimeZone&lt;/P&gt;
&lt;P&gt;KL, GMT+01:00&lt;/P&gt;
&lt;P&gt;MO, Casablanca&lt;/P&gt;
&lt;P&gt;TE, GMT+00:00&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp; ConvertToLocalTime(WM_Direct_Productivity_Tracking.END_DATE+WM_Direct_Productivity_Tracking.END_TIME-'01:00:00',ApplyMap('mapWarehouseTimeZone',Warehouse)) as WM_Direct_Productivity_Tracking.LOCAL_END_DATE_TIME&lt;/P&gt;
&lt;P&gt;FROM YourSource&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 00:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42410#M604302</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-06-20T00:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42411#M604304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I'm getting confused so I applymap to my warehouse and return the converted times, for my begin and end dates?&lt;/P&gt;&lt;P&gt;Also I know that my system date is set to CET so KL would stay the same, TE would be backward one hour?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Confused.com.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 13:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42411#M604304</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-06-20T13:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42412#M604305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having looked at your sample qvw, it makes sense now and given the correct local time for each warehouse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank your for you time, much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 14:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42412#M604305</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-06-20T14:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertTimetoLocal help</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42413#M604307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H. Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add the shift patterns and interval match the local start and end times but something is not right. could you possibly direct me please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 11:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertTimetoLocal-help/m-p/42413#M604307</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-06-22T11:20:43Z</dc:date>
    </item>
  </channel>
</rss>

