<?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: Recognise dateformat, convert and difference between 2 dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80085#M771967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying... see enclosed screendump. What am I doing wrong?&lt;IMG alt="QV-ExportScheduled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203207_QV-ExportScheduled.png" style="height: 195px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 12:46:29 GMT</pubDate>
    <dc:creator>stevenpiers</dc:creator>
    <dc:date>2018-05-23T12:46:29Z</dc:date>
    <item>
      <title>Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80080#M771962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to calculate the time needed for some scheduled exports. Loading into Qlikview isn't the problem, the only thing is that I cannot seem to get the dateformat right to calculate the time taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried several solutions in the community, but unfortunately none were understandable enough for me or they just didn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could help me with a sample file so I can 'watch and learn', would be very much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80080#M771962</guid>
      <dc:creator>stevenpiers</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80081#M771963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve your requirement using alt() and interval()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alt() help you convert all date format into one date common date format&lt;/P&gt;&lt;P&gt;interval() help you to identify difference between date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80081#M771963</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-05-23T12:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80082#M771964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As much as I'd like to do as advised it would be helpfull to have a sample file. Perhaps my data doesn't work with these functions?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80082#M771964</guid>
      <dc:creator>stevenpiers</dc:creator>
      <dc:date>2018-05-23T12:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80083#M771965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Number, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alt(timestamp#([Last change],'MM/DD/YYYY hh:mm:ss TT'),timestamp#([Last change],'MM-DD-YYYY hh:mm:ss')) as [Last change],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alt(timestamp#([Scheduled for],'MM/DD/YYYY hh:mm:ss TT'),timestamp#([Scheduled for],'MM-DD-YYYY hh:mm:ss')) as [Scheduled for]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Desktop\Export_Scheduled_TST.csv]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80083#M771965</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-05-23T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80084#M771966</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;Shivesh already give you required solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want date difference then use &lt;/P&gt;&lt;P&gt;Load *, interval(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;[Scheduled for]-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;[Last change],'D'&lt;/SPAN&gt;&lt;/SPAN&gt;) as date_difference_days;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;LOAD Number,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alt(timestamp#([Last change],'MM/DD/YYYY hh:mm:ss TT'),timestamp#([Last change],'MM-DD-YYYY hh:mm:ss')) as [Last change],&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alt(timestamp#([Scheduled for],'MM/DD/YYYY hh:mm:ss TT'),timestamp#([Scheduled for],'MM-DD-YYYY hh:mm:ss')) as [Scheduled for]&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;[..\Desktop\Export_Scheduled_TST.csv]&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80084#M771966</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-05-23T12:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80085#M771967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying... see enclosed screendump. What am I doing wrong?&lt;IMG alt="QV-ExportScheduled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203207_QV-ExportScheduled.png" style="height: 195px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80085#M771967</guid>
      <dc:creator>stevenpiers</dc:creator>
      <dc:date>2018-05-23T12:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80086#M771968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateFormat:&lt;/P&gt;&lt;P&gt;LOAD *,Interval([Scheduled for]-[Last change],'D') AS DateDifferentDays;&lt;/P&gt;&lt;P&gt;LOAD Number,&lt;/P&gt;&lt;P&gt;DATE(&lt;/P&gt;&lt;P&gt;alt( Date#([Scheduled for],'MM/DD/YYYY h:mm[.fff] TT'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#([Scheduled for],'DD-MM-YYYY h:mm')),'DD-MMM-YYYY') as [Scheduled for],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE(&lt;/P&gt;&lt;P&gt;alt( Date#([Last change],'MM/DD/YYYY h:mm[.fff] TT'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#([Last change],'DD-MM-YYYY h:mm')),'DD-MMM-YYYY') as [Last change]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[Last change]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[Scheduled for]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Data\Export_Scheduled_TST.csv&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203197_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80086#M771968</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-05-23T13:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80087#M771969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this is the solution! Thanks all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80087#M771969</guid>
      <dc:creator>stevenpiers</dc:creator>
      <dc:date>2018-05-23T13:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Recognise dateformat, convert and difference between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80088#M771970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stevenpiers"&gt;stevenpiers&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please mark the reply as &lt;STRONG&gt;Correct Answer.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 14:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recognise-dateformat-convert-and-difference-between-2-dates/m-p/80088#M771970</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-05-23T14:44:54Z</dc:date>
    </item>
  </channel>
</rss>

