<?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: Need help with time stamp conversion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860933#M996288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;yourtimestampvalue in above expression has to be &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;25569+&lt;SPAN&gt;yourtimestampvalue&lt;/SPAN&gt;/86400 instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the whole expression should read in your case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14347481595399596 jive_text_macro" jivemacro_uid="_14347481595399596"&gt;
&lt;P&gt;=ConvertToLocalTime(Alt(25569+start_time/86400,Now()),'GMT-06:00')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_169137_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90141_QlikCommunity_Thread_169137_Pic1.JPG" style="height: auto;" /&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>Fri, 19 Jun 2015 21:10:41 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-06-19T21:10:41Z</dc:date>
    <item>
      <title>Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860921#M996276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fetching data from db and storing the data in qvd . in this i am getting values of a date time field as number such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1426807749 but when i am trying to convert this into time stamp .i am not getting the desired result when i am trying as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MakeDate(Year(start_time),Month(start_time),Day(start_time)) as Outage_StartTime,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;timestamp(start_time) as start_time,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest how can we convert this into timestamp .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860921#M996276</guid>
      <dc:creator />
      <dc:date>2015-06-19T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860922#M996277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what date &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1426807749 this correspond to?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860922#M996277</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-19T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860923#M996278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your excel file data doesn't come from dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860923#M996278</guid>
      <dc:creator />
      <dc:date>2015-06-19T10:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860924#M996279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the database are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860924#M996279</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-06-19T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860925#M996280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this helps:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/751822"&gt;Re: Date ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860925#M996280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-19T10:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860926#M996281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thats a date time field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its value should be 2015-03-19 17:29:09 . but when i am getting it in qvd its getting changed in number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860926#M996281</guid>
      <dc:creator />
      <dc:date>2015-06-19T10:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860927#M996282</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;try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Timestamp(25569 + EpochTimeField / 86400) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;so in your case &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1426807749 would result in a timestamp 03/19/2015 23:29:09&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/700766"&gt;Re: UNIX DATE to Qlikview DATE&lt;/A&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>Fri, 19 Jun 2015 10:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860927#M996282</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-19T10:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860928#M996283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right Marco date is fine now but i can see the value as &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;03/19/2015 11:29:09 PM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the date is fine but when i see in time for same field in the earlier data which i was getting it 5:29:09 PM .. is there anything which is missing here &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860928#M996283</guid>
      <dc:creator />
      <dc:date>2015-06-19T11:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860929#M996284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe localization:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ConvertToLocalTime(Timestamp(25569 + 1426807749 / 86400),'GMT-06:00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;results in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;03/19/2015 5:29:09 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this match your time zone?&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>Fri, 19 Jun 2015 15:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860929#M996284</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-19T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860930#M996285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks .. some of the date value is null which is getting converted 01/01/1970 12:00:00 AM but i want to convert that value to now() i.e. current time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 18:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860930#M996285</guid>
      <dc:creator />
      <dc:date>2015-06-19T18:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860931#M996286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(start_time)) &amp;gt; 0, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ConvertToLocalTime(Timestamp(25569 + start_time/86400),'GMT-06:00'), Now())&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 20:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860931#M996286</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-19T20:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860932#M996287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=ConvertToLocalTime(Alt(yourtimestampvalue,Now()),'GMT-06:00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 20:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860932#M996287</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-19T20:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with time stamp conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860933#M996288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;yourtimestampvalue in above expression has to be &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;25569+&lt;SPAN&gt;yourtimestampvalue&lt;/SPAN&gt;/86400 instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the whole expression should read in your case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14347481595399596 jive_text_macro" jivemacro_uid="_14347481595399596"&gt;
&lt;P&gt;=ConvertToLocalTime(Alt(25569+start_time/86400,Now()),'GMT-06:00')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_169137_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90141_QlikCommunity_Thread_169137_Pic1.JPG" style="height: auto;" /&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>Fri, 19 Jun 2015 21:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-time-stamp-conversion/m-p/860933#M996288</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-19T21:10:41Z</dc:date>
    </item>
  </channel>
</rss>

