<?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 Help in converting cron expression into date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446137#M166429</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;I have data column which contains cron expression.&amp;nbsp; I would like to convert into date format when I display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help with the conversion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex. -&amp;nbsp; "0 15 13 28 9&amp;nbsp; ? 2015" to&amp;nbsp; "&lt;SPAN class="pnl-white-box-content-span"&gt;2015/09/28, 01:15 PM"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nili&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 23:27:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-23T23:27:17Z</dc:date>
    <item>
      <title>Help in converting cron expression into date format</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446137#M166429</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;I have data column which contains cron expression.&amp;nbsp; I would like to convert into date format when I display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help with the conversion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex. -&amp;nbsp; "0 15 13 28 9&amp;nbsp; ? 2015" to&amp;nbsp; "&lt;SPAN class="pnl-white-box-content-span"&gt;2015/09/28, 01:15 PM"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nili&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 23:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446137#M166429</guid>
      <dc:creator />
      <dc:date>2012-10-23T23:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help in converting cron expression into date format</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446138#M166430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;timestamp(timestamp#('0 15 13 28 9&amp;nbsp; ? 2015','s mm hh DD M&amp;nbsp; ? YYYY'))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 01:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446138#M166430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-24T01:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help in converting cron expression into date format</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446139#M166431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for above cron expression, but what should I do for other types of cron expression (daily,monthly,weekly) which has different syntax like&lt;/P&gt;&lt;P&gt;0 15 8 ? * *&amp;nbsp; ( which means daily 8:15 AM)&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;0 30 8 1 * ? ( which means monthly on 1st day at 8:30 AM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to put this in if condition like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CRON_EXPRESSION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 's mm hh DD M ? YYYY'), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CRON_EXPRESSION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'s mm hh DD M ? YYYY')), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CRON_EXPRESSION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;converted_cron_expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then it does not work.&amp;nbsp; It does not convert into Timestamp format.&amp;nbsp; Any idea what am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Nili&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 22:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446139#M166431</guid>
      <dc:creator />
      <dc:date>2012-10-24T22:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help in converting cron expression into date format</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446140#M166432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WildMatch won't help in this case as it is used for the String Comparison &amp;amp; not for format comparison. Rather try using some other string functions like SubstringCount(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CRON_EXPRESSION&lt;/SPAN&gt;)to identify the no of spaces in between the string. which should help identify the format of the string that you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amar &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 05:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-converting-cron-expression-into-date-format/m-p/446140#M166432</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2012-10-25T05:43:46Z</dc:date>
    </item>
  </channel>
</rss>

