<?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 Dayname to Date or Number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26077#M4307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a field that's a mix of Dayname (Mon, Tue, etc) and Date i.e 27/04/2018. &lt;/P&gt;&lt;P&gt;I also have a variable for Week Ending i.e. 25/05/2018 would be Friday.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I somehow need to convert the Dayname to a number i.e. Mon = 0, Tues = 1 &lt;/P&gt;&lt;P&gt;(so that I can convert the day name into date using that variable. i.e. Variable -4 + Dayname = Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached QVD. How do I convert the Mon, Tues etc in Day/Date field to a number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 13:16:17 GMT</pubDate>
    <dc:creator>shane_spencer</dc:creator>
    <dc:date>2018-05-29T13:16:17Z</dc:date>
    <item>
      <title>Convert Dayname to Date or Number</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26077#M4307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a field that's a mix of Dayname (Mon, Tue, etc) and Date i.e 27/04/2018. &lt;/P&gt;&lt;P&gt;I also have a variable for Week Ending i.e. 25/05/2018 would be Friday.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I somehow need to convert the Dayname to a number i.e. Mon = 0, Tues = 1 &lt;/P&gt;&lt;P&gt;(so that I can convert the day name into date using that variable. i.e. Variable -4 + Dayname = Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached QVD. How do I convert the Mon, Tues etc in Day/Date field to a number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 13:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26077#M4307</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2018-05-29T13:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Dayname to Date or Number</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26078#M4308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Pick() and Match():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match([Day/Date], 'Mon','Tue','Wed') // this will return 1, 2, 3 depending on the order. If 'Sun' is the first value, then Sun = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add this value to the variable and you will get the full date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 13:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26078#M4308</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-29T13:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Dayname to Date or Number</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26079#M4309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shane, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 13:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26079#M4309</guid>
      <dc:creator>giovanneb</dc:creator>
      <dc:date>2018-05-29T13:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Dayname to Date or Number</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26080#M4310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. The nested If was exactly what I was trying to avoid though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 13:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Dayname-to-Date-or-Number/m-p/26080#M4310</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2018-05-29T13:48:56Z</dc:date>
    </item>
  </channel>
</rss>

