<?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: Convert to date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392432#M146359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this it work fine&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;date(date#('Mar 01 22:19:49 2010','MMM DD hh:mm:ss YYYY'),'M/D/YYYY h mm ss') as dd&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 08:57:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-01T08:57:28Z</dc:date>
    <item>
      <title>Convert to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392431#M146358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you show me how to convert the following date format so that i can have the "Year", and "Month" functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Mon Mar 01 22:19:49 +0000 2010&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Christopher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 08:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392431#M146358</guid>
      <dc:creator>cclayford</dc:creator>
      <dc:date>2013-02-01T08:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392432#M146359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this it work fine&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;date(date#('Mar 01 22:19:49 2010','MMM DD hh:mm:ss YYYY'),'M/D/YYYY h mm ss') as dd&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 08:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392432#M146359</guid>
      <dc:creator />
      <dc:date>2013-02-01T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392433#M146360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;date(floor(timestamp#(replace(DATEFIELD,' ',' '),'mmm dd yyy h:mm:tt')),'DD/MM/YYYY')AS NEW_DATE_FIELD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 09:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392433#M146360</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-01T09:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392434#M146361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Except of the week day, that is redundant, the rest of timestamp components can be converted with the Timestamp() function using the correct format code. Thus, I have used Mid() function to remove the first weekday characters, and then converted to a Timestamp() type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Timestamp#(Mid('lun Mar 01 22:19:49 +0000 2010', 5), 'MMM DD hh:mm:ss +ffff YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to work with this field to extract other date or time components, then try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Timestamp#(Mid('lun Mar 01 22:19:49 +0000 2010', 5), 'MMM DD hh:mm:ss +ffff YYYY'))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Year(Timestamp#(Mid('lun Mar 01 22:19:49 +0000 2010', 5), 'MMM DD hh:mm:ss +ffff YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 10:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-date-format/m-p/392434#M146361</guid>
      <dc:creator />
      <dc:date>2013-02-01T10:08:56Z</dc:date>
    </item>
  </channel>
</rss>

