<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to show date range(Mon to Fri) in dropdown field ?</title><link>https://community.appian.com/discussions/f/user-interface/20983/how-to-show-date-range-mon-to-fri-in-dropdown-field</link><description>Hi, I would like to show date range (Mon to Fri by default and I have created rule for this) so I have a requirement to show date range in dropdown field. Thus user will select particular date range and data will modify according to date from Monday to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to show date range(Mon to Fri) in dropdown field ?</title><link>https://community.appian.com/thread/81721?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 09:40:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef613705-22b8-437c-aebe-6342936a3ef2</guid><dc:creator>Bramha</dc:creator><description>&lt;p&gt;Ok Stefan. I&amp;#39;ll try this one. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show date range(Mon to Fri) in dropdown field ?</title><link>https://community.appian.com/thread/81719?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 08:57:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f92e97f-96d2-4aa7-9a86-1341a16c9611</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This creates a list of 10 ranges for a given start date&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!currentDay: weekday(ri!startDate),
  local!mondayDate: ri!testDate + (2-local!currentDay),
  a!forEach(
    items: enumerate(10) * 7,
    expression: concat(
      local!mondayDate + fv!item,
      &amp;quot; - &amp;quot;,
      local!mondayDate + fv!item + 5
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show date range(Mon to Fri) in dropdown field ?</title><link>https://community.appian.com/thread/81718?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 07:21:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d381915-7e8a-4d95-92dc-62cb93a6b399</guid><dc:creator>Bramha</dc:creator><description>&lt;p&gt;this is the rule which I&amp;#39;m using to get date range&lt;/p&gt;
&lt;p&gt;load(&lt;br /&gt; local!currentDay:weekday(ri!testDate),&lt;br /&gt; local!mondayDate:2-local!currentDay,&lt;br /&gt; local!fridayDate:6-local!currentDay,&lt;br /&gt; {&lt;br /&gt; ri!testDate+local!mondayDate &amp;amp; &amp;quot; - &amp;quot; &amp;amp; ri!testDate+local!fridayDate,&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>