<?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 Convert CST to Eastern Time Zone in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Convert-CST-to-Eastern-Time-Zone/m-p/1982036#M81039</link>
    <description>&lt;P&gt;I have the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;if ('$(pTimeZone)' = 'CST',Timestamp(ConvertToLocalTime(LatestDate,'Eastern Time (US &amp;amp; Canada)'),'MM-DD-YYYY hh:mm tt')&lt;/PRE&gt;
&lt;P&gt;my LatestDate value is&amp;nbsp; 2022-09-16 08:56 in CST&lt;BR /&gt;&lt;BR /&gt;But my conversion above gives me the output 09-06-2022 04:56 am&lt;BR /&gt;&lt;BR /&gt;which is wrong.&lt;BR /&gt;&lt;BR /&gt;Can anyone please suggest why am I getting the wrong answer?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:13:25 GMT</pubDate>
    <dc:creator>jchacko_rxsense</dc:creator>
    <dc:date>2022-09-16T14:13:25Z</dc:date>
    <item>
      <title>Convert CST to Eastern Time Zone</title>
      <link>https://community.qlik.com/t5/App-Development/Convert-CST-to-Eastern-Time-Zone/m-p/1982036#M81039</link>
      <description>&lt;P&gt;I have the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;if ('$(pTimeZone)' = 'CST',Timestamp(ConvertToLocalTime(LatestDate,'Eastern Time (US &amp;amp; Canada)'),'MM-DD-YYYY hh:mm tt')&lt;/PRE&gt;
&lt;P&gt;my LatestDate value is&amp;nbsp; 2022-09-16 08:56 in CST&lt;BR /&gt;&lt;BR /&gt;But my conversion above gives me the output 09-06-2022 04:56 am&lt;BR /&gt;&lt;BR /&gt;which is wrong.&lt;BR /&gt;&lt;BR /&gt;Can anyone please suggest why am I getting the wrong answer?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Convert-CST-to-Eastern-Time-Zone/m-p/1982036#M81039</guid>
      <dc:creator>jchacko_rxsense</dc:creator>
      <dc:date>2022-09-16T14:13:25Z</dc:date>
    </item>
  </channel>
</rss>

