<?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: Setting a date format and using the date the calculate how long it's been since the date in the data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258317#M852395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Provide a Dummy Data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 09:53:56 GMT</pubDate>
    <dc:creator>sumitjadhav</dc:creator>
    <dc:date>2017-02-24T09:53:56Z</dc:date>
    <item>
      <title>Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258313#M852391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dates that equal &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellspacing="0" frame="VOID" rules="NONE"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="32" width="112"&gt;&lt;SPAN style="color: #000000; font-family: Calibri;"&gt;6/24/2013 0:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;How do I define that this data is datetime format?&lt;/P&gt;&lt;P&gt;How do I find out what today is? Today()?&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/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258313#M852391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258314#M852392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Date#(Field,'MM/DD/YYYY')&lt;/STRONG&gt; to define and interpret that it's a date field in specified format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes &lt;STRONG&gt;today()&lt;/STRONG&gt; to return present day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 23:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258314#M852392</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-23T23:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258315#M852393</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;You need to use Date and Date# functions. Also, use script command 'SET DateFormat = .....' to setup right date format you want to use.&lt;/P&gt;&lt;P&gt;Example code will generate value &lt;SPAN style="font-size: 13.3333px;"&gt; '2017-06-24'&lt;/SPAN&gt; in variable vDate:&lt;/P&gt;&lt;P&gt;//---------------&lt;/P&gt;&lt;P&gt;SET DateFormat='YYYY-MM-DD';&lt;/P&gt;&lt;P&gt;LET vDate = date(date#('6/24/2017', 'MM/DD/YYYY'))&lt;/P&gt;&lt;P&gt;//--------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right - Today() function returns current date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 23:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258315#M852393</guid>
      <dc:creator>piotrtk</dc:creator>
      <dc:date>2017-02-23T23:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258316#M852394</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;FRAC(date#(6/24/2013 0:00,'MM/DD/YYYY'))&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and today() function will return today date &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258316#M852394</guid>
      <dc:creator />
      <dc:date>2017-02-24T02:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258317#M852395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Provide a Dummy Data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 09:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258317#M852395</guid>
      <dc:creator>sumitjadhav</dc:creator>
      <dc:date>2017-02-24T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258318#M852396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;today()-floor(date#([DateField],'MM/DD/YYYY hh:mm'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give the number of days in the difference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258318#M852396</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2017-02-24T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date format and using the date the calculate how long it's been since the date in the data</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258319#M852397</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;Today data is Today().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Date#(Floor(Field),'MM/DD/YYYY hh:mm')&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-date-format-and-using-the-date-the-calculate-how-long/m-p/1258319#M852397</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2017-02-24T11:51:49Z</dc:date>
    </item>
  </channel>
</rss>

