<?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: dateadd seconds in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409953#M152464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's a string you first need to make it a date. Something like this I think:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyNewDateTime = date#('2/31/1969 6:00 pm','D/MM/YYYY hh:mm TT') + MyfieldInSeconds/8640&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2012 17:26:29 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2012-10-12T17:26:29Z</dc:date>
    <item>
      <title>dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409948#M152459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello that's my first time here! I have a sql column in seconds (10 characters) and i need to add (dateadd in sql), the seconds to one date ex: (2/31/1969 6:00 pm) to extract the spend time since that date ex: dateadd([second],columnname,'12/31/1969 6:00 pm') ¿it's there a way to do this in QlikView? Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 16:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409948#M152459</guid>
      <dc:creator />
      <dc:date>2012-10-12T16:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409949#M152460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Divide the number of seconds by 86400 and add that to a date: MyNewDateTime = MyDateTime + Seconds/86400&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 17:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409949#M152460</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-12T17:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409950#M152461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I have a question i have my start datetime field with the format "am/pm" ¿how it works? MyNewDateTime = 2/31/1969 6:00 pm + MyfieldInSeconds/86400 ??? Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 17:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409950#M152461</guid>
      <dc:creator />
      <dc:date>2012-10-12T17:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409951#M152462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I have a question i have my start datetime field with the format "am/pm" ¿how it works? MyNewDateTime = 2/31/1969 6:00 pm + MyfieldInSeconds/86400 ??? Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 17:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409951#M152462</guid>
      <dc:creator />
      <dc:date>2012-10-12T17:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409952#M152463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Date# function to format it to the date format that you going to provide as input.&lt;/P&gt;&lt;P&gt;Qlikview itself process 1 days as integer 1.&lt;/P&gt;&lt;P&gt;You can check it by Num(Today()).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 17:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409952#M152463</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-10-12T17:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409953#M152464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's a string you first need to make it a date. Something like this I think:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyNewDateTime = date#('2/31/1969 6:00 pm','D/MM/YYYY hh:mm TT') + MyfieldInSeconds/8640&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 17:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409953#M152464</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-12T17:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: dateadd seconds</title>
      <link>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409954#M152465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the functions: ConvertToLocalTime(timestamp(25569+YOURFIELD/24/60/60),'GMT-06:00') where the 'GMT-06:00' it's yout UTC zone enjoy!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 19:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dateadd-seconds/m-p/409954#M152465</guid>
      <dc:creator />
      <dc:date>2012-10-12T19:23:25Z</dc:date>
    </item>
  </channel>
</rss>

