<?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: Date format from text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390016#M1162068</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;To be able to use Date functions you should store your date in field in a right format.&lt;/P&gt;&lt;P&gt;Actually dates has two parts: text and numeric. It seems that you have just string in FIELD so date functions doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should convert it to make a date from string. There are functions with # in the end that converts string into dual.&lt;/P&gt;&lt;P&gt;Above you can see the example of conversion in script.&lt;/P&gt;&lt;P&gt;You can also try it in a chart/listbox to make sure that the statement is correct (if you have loaded FIELD separately).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 08:48:47 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-11-02T08:48:47Z</dc:date>
    <item>
      <title>Date format from text</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390013#M1162065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I loaded a excel file which has a date field but when I tried to pull Day(FIELD),Month(FIELD) I am getting nothing, That field contains data for One month but still I am getting nothing for Day(Field)....please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 18:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390013#M1162065</guid>
      <dc:creator />
      <dc:date>2012-10-31T18:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date format from text</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390014#M1162066</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,day(Date) as Day, Month(Date) as Month;&lt;/P&gt;&lt;P&gt;Load *,Date#(DateField) as Date from excelfilename.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 18:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390014#M1162066</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-31T18:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date format from text</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390015#M1162067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to format to date if it is not in correct format&lt;/P&gt;&lt;P&gt;Assuming my date field is in the format MM-DD-YYYY then&lt;/P&gt;&lt;P&gt;Check with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateFormatting:&lt;/P&gt;&lt;P&gt;Load Day(FieldName) AS day,Month(FieldName) AS Month;&lt;/P&gt;&lt;P&gt;Load Date#(DateField,'MM-DD-YYYY') AS FieldName From ExcelDatasource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;Load Day(Date#(DateField,'MM-DD-YYYY')) AS day,Month(Date#(DateField,'MM-DD-YYYY')) AS Month&lt;/P&gt;&lt;P&gt;From ExcelDatasource;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 18:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390015#M1162067</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-10-31T18:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date format from text</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390016#M1162068</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;To be able to use Date functions you should store your date in field in a right format.&lt;/P&gt;&lt;P&gt;Actually dates has two parts: text and numeric. It seems that you have just string in FIELD so date functions doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should convert it to make a date from string. There are functions with # in the end that converts string into dual.&lt;/P&gt;&lt;P&gt;Above you can see the example of conversion in script.&lt;/P&gt;&lt;P&gt;You can also try it in a chart/listbox to make sure that the statement is correct (if you have loaded FIELD separately).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 08:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-from-text/m-p/390016#M1162068</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-02T08:48:47Z</dc:date>
    </item>
  </channel>
</rss>

